LoRa node acquiring analog input and sending to LoRa Server - Working ok
Dependents: DISCO-L072CZ-LRWAN1_LoRa_node EIoT_LoRa_node_1 EIoT_LoRa_node_2 EIoT_LoRa_node_3
Fork of SX1276GenericLib by
Diff: sx1276/sx1276-mbed-hal.h
- Revision:
- 111:c47d5224a2d1
- Parent:
- 109:528f37db941f
diff -r e04a263e272d -r c47d5224a2d1 sx1276/sx1276-mbed-hal.h --- a/sx1276/sx1276-mbed-hal.h Fri May 18 16:40:16 2018 +0200 +++ b/sx1276/sx1276-mbed-hal.h Sun Jun 03 15:07:53 2018 +0200 @@ -46,6 +46,7 @@ /*! * Antenna switch GPIO pins objects */ + DigitalOut *_antSwitchPwr; DigitalOut *_antSwitch; DigitalOut *_antSwitchTX; DigitalOut *_antSwitchTXBoost; @@ -89,7 +90,9 @@ * triggers definition */ typedef void (SX1276Generic::*Trigger)(void); - + static const int PWR_OFF = 1; + static const int PWR_ON = 0; + public: SX1276Generic( RadioEvents_t *events, BoardType_t board,