Demo application for using the AT&T IoT Starter Kit Powered by AWS.
Dependencies: SDFileSystem
Fork of ATT_AWS_IoT_demo by
IoT Starter Kit Powered by AWS Demo
This program demonstrates the AT&T IoT Starter Kit sending data directly into AWS IoT. It's explained and used in the Getting Started with the IoT Starter Kit Powered by AWS on starterkit.att.com.
What's required
- AT&T IoT LTE Add-on (also known as the Cellular Shield)
- NXP K64F - for programming
- microSD card - used to store your AWS security credentials
- AWS account
- Python, locally installed
If you don't already have an IoT Starter Kit, you can purchase a kit here. The IoT Starter Kit Powered by AWS includes the LTE cellular shield, K64F, and a microSD card.
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);