Node application blinks the LEDs of the Spark Core internet button.
Setup:
- Copy firmware.cpp into a new app in Spark build. Flash the core and make sure that is it online.
- Obtain the sparkcore id and access key from spark.io and add it to blink.js
- Install the necessary node libraries npm install
Run locally: node lib/blink.js
Run in Amazon Lambda:
Run in Docker:
Run in EC2 Container Service: