PDA

View Full Version : Single Synapse LED board scripts


Jheath
06-18-2010, 07:45 PM
Here is a script that can be used with the Synapse LED demo board (if you only have one to play with).

Simple script:
Pressing Button 1 will cycle through the LED colors
Pressing Button 2 will enable a mode where the red LED intensity is controlled by the ambient light sensor (photocell). The darker the reading, the brighter the LED.

Of course, calls from other devices/controllers to manipulate the LEDs will still work.