==============================
Here is a simple project to control the intensity of three LEDs, one Red, one Green, you can guess the last one is Blue.
This is the Arduino part.
It controls the arduino LED intensity when the socket responds from the node server. The connection to the board is done with johnny-five.
You can check the node server here
You can check the web app here
###You may want to check these links...
Watch the video on youtube http://www.youtube.com/watch?v=7AfHfv1EZ20&feature=youtu.be