Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSoftSerial SDFileSystem
Fork of ATT_AWS_IoT_demo by
Diff: main.cpp
- Revision:
- 16:02008a2a2569
- Parent:
- 15:6f2798e45099
- Child:
- 18:6370da1de572
diff -r 6f2798e45099 -r 02008a2a2569 main.cpp
--- a/main.cpp Thu Dec 01 18:05:38 2016 +0000
+++ b/main.cpp Fri Dec 02 22:39:56 2016 +0000
@@ -256,14 +256,16 @@
DEBUG("Using clientKey %s", clientKey);
*/
- // Blinks through RGB then turns off
+ // Startup signal - blinks through RGBW then turns off
SetLedColor(COLOR_RED);
wait(.5);
SetLedColor(COLOR_GREEN);
wait(.5);
SetLedColor(COLOR_BLUE);
wait(.5);
- SetLedColor(COLOR_OFF);
+ SetLedColor(COLOR_WHITE);
+ wait(.5);
+ SetLedColor(COLOR_OFF);
// Setup SW3 button to falling edge interrupt
Interrupt.fall(&sw3ButtonHandler);
