Mbed Clock application using an NTP connection to get internet time and a terminal interface to send commands
Dependencies: 4DGL-uLCD-SE EthernetInterface NTPClient mbed-rtos mbed SDFileSystem wavfile
Revision 3:b711df1f40cb, committed 2014-12-09
- Comitter:
- dudanian
- Date:
- Tue Dec 09 15:42:39 2014 +0000
- Parent:
- 2:c939d0501184
- Child:
- 4:c4dfbf6b7f9f
- Commit message:
- Final
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Dec 08 23:30:49 2014 +0000 +++ b/main.cpp Tue Dec 09 15:42:39 2014 +0000 @@ -151,11 +151,11 @@ } -void waitForTrigger2() { +void waitForTrigger() { // set EasyVR to 2 claps sMutex.lock(); easyVR.putc('s'); - easyVR.putc('A' + 4); + easyVR.putc('A' + 1); sMutex.unlock(); wait(0.2); @@ -173,7 +173,7 @@ printf("trigger received!\n\r"); } -void waitForTrigger() { +void waitForTrigger2() { char rchar = 0; sleepLED = 1; printf("Waiting for trigger...");