Real-time bike tracker using Adafruit Ultimate GPS, Huzzah wifi, and Pubnub
Dependencies: MBed_Adafruit-GPS-Library mbed
Diff: Huzzah.cpp
- Revision:
- 6:5bc3eeabdca3
- Parent:
- 3:ceca81e8ac2b
diff -r 786cb04aaecc -r 5bc3eeabdca3 Huzzah.cpp --- a/Huzzah.cpp Fri Apr 21 01:03:26 2017 +0000 +++ b/Huzzah.cpp Sun Apr 23 15:24:21 2017 +0000 @@ -77,7 +77,7 @@ sprintf(cmdbuff, conn.c_str()); send_cmd(); getreply(); - wait(2.0); + wait(1.0); this->socket = true; pc.printf("socket opened\r\n"); @@ -113,11 +113,11 @@ sprintf(cmdbuff, conn.c_str()); send_cmd(); getreply(); - wait(2.0); + wait(0.5); sprintf(cmdbuff, r.c_str()); send_cmd(); - wait(1.0); + wait(0.5); send_cmd(); getreply(); wait(0.5);