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 — Exclusive interview with Fred Dart – CEO of FTDI @FTDIChip #FTDI @adafruit
Wearables — Stabilize your Project
Electronics — Damp Sponge vs Drenched Sponge
Biohacking — “8-Hour Sleep Album”
Sorry, the comment form is closed at this time.