PDA

View Full Version : Single Synapse LED board scripts


Jheath
06-18-2010, 08: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.

cmccrank
01-12-2011, 12:29 PM
Thanks for posting this.

Is this the same script / procedures called by the web-based Snap Lighting Demo (via the web, E10)?

thanks,
Chris

mgenti
01-12-2011, 12:30 PM
The script used on those boards for snaplighting.com is slightly different.

cmccrank
01-12-2011, 12:31 PM
Thanks, Mark. Is it available on the user's forum somewhere?


--Chris

mgenti
01-12-2011, 12:33 PM
Not currently, I'll see about posting those.

mgenti
01-13-2011, 02:58 PM
I've attached to this post the latest version of the SNAPpy script for the lighting boards. Please note that snaplighting.com is a demo site and is not designed to deploy your own custom application. If you would like to have your own production site for deployment, please contact your sales representative.