This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# test script to show arduino light control code usage | |
# can execute this (on OS X, assuming named test.sh and is chmoded to be runnable - chmod 755) via: | |
# ./test.sh | sudo cu -l /dev/cu.usbserial-A900cecL -s 115200 | |
while [ 1 ]; do | |
echo "49572,1261,255" | |
sleep 1 | |
echo "49572,45326,255" | |
sleep 1 | |
echo "49572,25831,255" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* FlexTechLEDController | |
* | |
* Stephen Paine 2013 (https://sites.google.com/site/smpaine/) | |
* | |
* Extension of the code found at: http://seeedstudio.com/wiki/index.php?title=Twig_-_Chainable_RGB_LED | |
* | |
* Controls an LED digitally addressable light sight made by FlexTech: http://www.gemmy.com/christmas/christmas-lighting/item/christmas-lighting/flextech-lightshow-multi-color-87081 | |
* | |
* Contains extensions (made by me) to the original P9613 controller code from seedstudio (FlexTech light set uses P9618, but appears to be controllable by the P9613 code). |