A simple LED On Off Node.js aplication for the Intel® XDK IoT Edition which runs a web server to listen for the user input on the web page. Based on the user input it switches the LED on or off by communicating the led state via websockets.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
OnOffLED.xdk
OnOffLED.xdke
README.md
icon.png
index.html
main.js
package.json

README.md

LED On Off over the web Node.js IoT App

Simple LED On Off over the web Node.js sample application made using Intel® XDK IoT Edition.

Intel(R) XDK IoT Edition

This template is created using the Intel(R) XDK IoT Edition. Download the Intel(R) XDK IoT Edition at https://software.intel.com/en-us/html5/xdk-iot. To see the technical details of the sample, please visit the sample article page at https://smexyyweby.wordpress.com/2015/02/12/intel-galileo-gen-2-board-for-interfacing-internet-of-things-controlling-led-via-web/

Important App Files

  • main.js
  • package.json
  • index.html
  • icon.png
  • README.md

Important links:

mraa

express

http://expressjs.com/

socket.io

http://socket.io/