![](/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/inc/BaseboardIO.h
- Revision:
- 59:485545afc4dc
- Parent:
- 58:15aa7a785b9f
- Child:
- 62:9751a8504c82
diff -r 15aa7a785b9f -r 485545afc4dc xDotBridge/inc/BaseboardIO.h --- a/xDotBridge/inc/BaseboardIO.h Wed Mar 01 17:28:32 2017 -0700 +++ b/xDotBridge/inc/BaseboardIO.h Mon Mar 06 09:37:15 2017 -0700 @@ -13,6 +13,7 @@ const uint16_t BASEBOARDIO_NVM_SIZE = 32; // Bytes const uint16_t BASEBOARDIO_FLAG = 0x5A00; const uint16_t BASEBOARDIO_REV = 0x0000; +#define ALSO_USE_LRR_LED 1 // Only set to 1 for debug otherwise it is a waste of power class NvmBBIOObj { public: @@ -59,7 +60,8 @@ static const PinName CCInPinName = WAKE; // Interrupt pin PA_0 static const PinName TamperPinName = GPIO1; // Interrupt pin PA_5 static const PinName PairBtnPinName = UART_CTS; // Interrupt pin PA_11 - static const PinName LedPinName = GPIO0; + static const PinName LedPinName = GPIO3; + static const PinName LrrLedPinName = GPIO0; static const PinName SwitchedIOCtrlPinName = I2C_SCL; /** @@ -375,6 +377,7 @@ InterruptIn mTamper; InterruptIn mPairBtn; DigitalOut mLed; + DigitalOut mLrrLed; DigitalOut mSwitchedIOCtrl; // uint8_t mPortExpanderROM0[8]; // FIXME could probably get rid of