arduino rgb led strip driver
authorClinton Ebadi <clinton@unknownlamer.org>
Mon, 24 Nov 2014 04:48:40 +0000 (23:48 -0500)
committerClinton Ebadi <clinton@unknownlamer.org>
Mon, 24 Nov 2014 04:48:40 +0000 (23:48 -0500)
commit4f09d0a3c39b883a7e948f90fc2baf93693b2afe
tree74da81c0e36bdfdec00e1ce7e4c2aeb7cc38813e
parentdeec840c0d9bb017ffb167f3ebd3348bf095fe75
arduino rgb led strip driver

A few iterations in, time for version control. led-controller.scm
interfaces with this.

This supports driving an arbitrary number of rgb led strips. All
currently are set to the same color. You just wire up the pins, and
send it three bytes (r, g, b) and read the response line to keep in
sync.

Originally read r g b using Serial.parseInt(). Returning to that soon
as I am porting it to Teensy 3.1 and it has fast buffered
communication making the current approach unsuitable.

It uses a basic intensity correction table from another
project (generated by gamma.py). This is most likely wrong... each
color needs its own table, I think.
README
arduino-rgb-led/arduino-rgb-led.ino [new file with mode: 0644]
arduino-rgb-led/gamma.h [new file with mode: 0644]
arduino-rgb-led/gamma.py [new file with mode: 0644]
arduino-rgb-led/pwm_rgb_led_corrected.ino [new file with mode: 0644]