Port of aduino LoRa library from https://github.com/sandeepmistry/arduino-LoRa
Dependents: WeatherStationRemote
Diff: LoRa.cpp
- Revision:
- 1:8b16ccb7ea3f
- Parent:
- 0:c28964675044
--- a/LoRa.cpp Mon Jan 22 21:59:16 2018 +0000 +++ b/LoRa.cpp Wed Jan 24 10:51:18 2018 +0000 @@ -257,8 +257,10 @@ writeRegister(REG_DIO_MAPPING_1, 0x00); //attachInterrupt(digitalPinToInterrupt(_dio0), LoRaClass::onDio0Rise, RISING); + _dio0.rise(&LoRaClass::onDio0Rise); } else { //detachInterrupt(digitalPinToInterrupt(_dio0)); + _dio0.rise(NULL); } }