AWS IoT demonstration using the Avnet Shield (AT&T LTE) and the FRDM-K64F target board.
Dependencies: K64F_FATFileSystem
Fork of mbed-os-example-tls-tls-client 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);