-
Notifications
You must be signed in to change notification settings - Fork 0
Control the color of a rgb led with arduino. CSS style
License
heronog/background-color
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Software to control a RGB led with an arduino through a serial port. the circuit is a standard RGB PWM control with arduino, as you can see in http://learn.adafruit.com/rgb-led-strips/usage It opens the serial port and waits for a RGB color in hex notation like #ff00ff. it then sets the RGB led to that color and waits for your next command. there's a node_js server that serves a jquery colorpicker and sends the selected color to the light. run it like this # node json_control.js then point your browser to http://localhost:8124/ to see it!! you can also hit the server directly from the console like this: # curl -d "color=f56803" http://localhost:8124/set this creates a POST request to '/set' with a variable "color" set to the hex color you want. you know what to do IDEAS: add a nrf24l01 radio and control it through the airwaves!
About
Control the color of a rgb led with arduino. CSS style
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Other 100.0%