When you click "Submit" on the page, another request is made to the XPort/Arduino, this time with a GET command ?color=#xxxxxx with the color information. The Arduino looks for this command, parses the color requested and calls analogWrite() on the three LEDs to change them into that color.
Want to try it out? Go to -> http://ladyada.net/make/eshield/colorpickerfwd.html which will forward you to the correct IP address (since I dont have DNS for my home network). The XPort can only receive one connection at a time so if you cant get thru, please be patient! 🙂
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — “InstaPart: Get Any Symbol & Footprint in 24 Hours – SnapEDA”
Wearables — App know how
Electronics — To Y5V or not to Y5V?
Biohacking — Nootropic : Methylene Blue – The Mood, Memory and Energy Enhancer
Sorry, the comment form is closed at this time.