Edison Carrick
/
Wifi_Alarm_Sunrise_Simulator
lab4
Fork of huzzah_helloWorld by
Revision 4:80b814538fe6, committed 2016-03-18
- Comitter:
- ecarrick
- Date:
- Fri Mar 18 15:59:13 2016 +0000
- Parent:
- 3:072c63f44572
- Commit message:
- spelling error
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 072c63f44572 -r 80b814538fe6 main.cpp --- a/main.cpp Fri Mar 18 15:53:44 2016 +0000 +++ b/main.cpp Fri Mar 18 15:59:13 2016 +0000 @@ -147,7 +147,7 @@ // uncomment to be able to send commands to the wifi module directly through the PC COM port //pc.attach(&pc_recv, Serial::RxIrq); - // set up an interupt to listen for data sent by the wifi module + // set up an interrupt to listen for data sent by the wifi module // allows the configuration to be updated. esp.attach(&dev_recv, Serial::RxIrq); @@ -158,7 +158,7 @@ tp = localtime(&rtc); printf("hr: %d min:%d\r\n", tp->tm_hour, tp->tm_min); - // set up an interupt checker to check the alarm status every minute. + // set up an interrupt checker to check the alarm status every minute. alarmChecker.attach(&alarmCheck, 60); while(1) { sleep(); // low power sleep to conserve power inbetween checks