![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Fork to see if I can get working
Dependencies: BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated
Fork of xDotBridge_update_test20180823 by
Diff: xDotBridge/src/BaseboardIO.cpp
- Revision:
- 59:485545afc4dc
- Parent:
- 58:15aa7a785b9f
- Child:
- 60:5179449a684f
--- a/xDotBridge/src/BaseboardIO.cpp Wed Mar 01 17:28:32 2017 -0700 +++ b/xDotBridge/src/BaseboardIO.cpp Mon Mar 06 09:37:15 2017 -0700 @@ -45,6 +45,7 @@ mTamper(TamperPinName), mPairBtn(PairBtnPinName), mLed(LedPinName), + mLrrLed(LrrLedPinName), mSwitchedIOCtrl(SwitchedIOCtrlPinName, 0) { mPortExpanderVal0 = 0x00; @@ -252,11 +253,17 @@ CmdResult BaseboardIO::ledOn() { mLed = 1; +#if ALSO_USE_LRR_LED + mLrrLed = 1; +#endif return cmdSuccess; } CmdResult BaseboardIO::ledOff() { mLed = 0; +#if ALSO_USE_LRR_LED + mLrrLed = 0; +#endif return cmdSuccess; } CmdResult BaseboardIO::relayAlert()