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
Revision 10:3d148697c0d3, committed 2015-02-16
- Comitter:
- modtronix
- Date:
- Mon Feb 16 00:13:20 2015 +0000
- Parent:
- 9:b7809c62eaa6
- Commit message:
- Fixed reset, was sending 1 in stead of 0 pulse.
Changed in this revision
sx127x.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b7809c62eaa6 -r 3d148697c0d3 sx127x.cpp --- 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); }