message: BC127: improve the intial values for the pins to adapt to RevD and RevE automatically at compile time (cheating!)
diff: @@ -77,8 +77,16 @@ protected:
  int BC127_firmware_ver = 7; //can be 5, 6, 7
  int BLE_id_num=-1; //can be 14, 24, 34?
  + //To do a hardware reset of the module, we need to know the pin numbers from the Tympan/Teensy that go to
  + //certain pins on the BC127. You really should provide those pins through the setPins method. But, to avoid
  + //catastrophe, I also do the hack below to try to use the correct values. This is cheating.
  + #ifdef KINETISK //this is set by the Arduino IDE when you choose Teensy 3.6...ie Tympan RevD
  + int pin_PIO0 = 56; //set to -1 to defeat unless set manually. //RevD = 56, RevE = 5 // Pin # for connection to BC127 PIO0 pin
  + int pin_RST = 34; //set to -1 to defeat unless set manually. //RevD = 34, RevE = 9 // Pin # for connection to BC127 RST pin
  + #else //otherwise, assume RevE
  int pin_PIO0 = 5; //set to -1 to defeat unless set manually. //RevD = 56, RevE = 5 // Pin # for connection to BC127 PIO0 pin
  int pin_RST = 9; //set to -1 to defeat unless set manually. //RevD = 34, RevE = 9 // Pin # for connection to BC127 RST pin
  + #endif
  private:
  opResult knownStart(); // baseline starting function
  