LoRa Access Point 1.5.2018
Dependencies: mbed ds3231 SX1276Lib_LoRa_Access_Point
Diff: main.cpp
- Revision:
- 4:e20eb5efd859
- Parent:
- 3:7a3ddda464bf
- Child:
- 5:19b34c4d27a1
diff -r 7a3ddda464bf -r e20eb5efd859 main.cpp --- a/main.cpp Mon Apr 23 21:28:36 2018 +0000 +++ b/main.cpp Mon Apr 30 17:09:34 2018 +0000 @@ -11,12 +11,12 @@ bt.Init(); rfm.Init(); // wifi.Test(); + int i = 0; while(1) { wifi.CheckSettings(); if(!sw) { - float v = 0.25; - rfm.SendValue(4,v); + rfm.SendValue(4,i++); wait(0.25); } }