Skip to content

Instantly share code, notes, and snippets.

#!/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"
@smpaine
smpaine / FlexTechLEDController
Last active October 12, 2015 09:27
Arduino code for controlling FlexTech RGBY LED light set
/**
* 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).