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 Helmut Tschemernjak

Revision:
64:b721e6ab656a
Parent:
61:08b50780eb91
Child:
65:b2d98328fcba
--- a/sx1276/sx1276-mbed-hal.cpp	Thu Jun 29 19:30:24 2017 +0200
+++ b/sx1276/sx1276-mbed-hal.cpp	Fri Jun 30 16:08:05 2017 +0200
@@ -29,6 +29,7 @@
                             PinName antSwitch, PinName antSwitchTX, PinName antSwitchTXBoost, PinName tcxo)
                             : SX1276( events)
 {
+    Sleep_ms( 10 );
     this->RadioEvents = events;
     boardConnected = board;
     
@@ -362,6 +363,12 @@
     }
 }
 
+void
+SX1276Generic::Sleep_ms(int ms)
+{
+    wait_ms(ms);
+}
+
 bool SX1276Generic::CheckRfFrequency( uint32_t frequency )
 {
     // Implement check. Currently all frequencies are supported