Fork of SX1276 library, with setLowDataRateOptimize() function added to configure "Low Datarate Optimize" setting of chip.

Dependents:   SX1276_terminal SX1276_Semtech_GUI

Fork of SX127x by wayne roberts

Revision:
10:3d148697c0d3
Parent:
9:b7809c62eaa6
--- a/sx127x.cpp	Sun Feb 15 08:15:07 2015 +0000
+++ b/sx127x.cpp	Mon Feb 16 00:13:20 2015 +0000
@@ -253,9 +253,9 @@
 {
     /* only a french-swiss design would have hi-Z deassert */
     reset_pin.output();
-    reset_pin.write(1);
-    wait(0.05);
-    reset_pin.input();
-    wait(0.05);
+    reset_pin.write(0); //Apply reset pulse, and wait 1ms. Datasheet specifies minimum wait of 100us
+    wait_ms(1);
+    reset_pin.input();  //Restore to hi-z, and wait 5ms, as specified in dataseet
+    wait_ms(5);
 }