1
Dependencies: X_NUCLEO_IKS01A1 LoRaWAN-lib SX1276Lib mbed
Diff: board/board.cpp
- Revision:
- 1:80c1daf19aa4
- Parent:
- 0:42863a11464a
- Child:
- 2:78df92a365c2
--- a/board/board.cpp Fri Aug 26 19:36:35 2016 +0000 +++ b/board/board.cpp Fri Aug 26 20:51:07 2016 +0000 @@ -23,6 +23,8 @@ DigitalOut Pc7( PC_7 ); DigitalIn Pc1( PC_1 ); +DigitalIn UsrButton(PC_13 ); + #define AIN_VREF 3.3 // STM32 internal refernce #define AIN_VBAT_DIV 2 // Resistor divider @@ -33,7 +35,6 @@ TimerTimeCounterInit( ); } - uint8_t BoardGetBatteryLevel( void ) { return 0xFE;