Fork with intent to refactor and add support for American 902-928(915) Frequency Bands
Diff: sx1276/sx1276-mbed-hal.h
- Revision:
- 111:c47d5224a2d1
- Parent:
- 109:528f37db941f
- Child:
- 117:5b5ad247cc3b
--- 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,