Pattern Generation Code for Our Interactive LED Lamp

When the lamp we built a while back got some attention on Hackaday recently, someone in the comments would’ve liked to see the code that generated the light patterns. We thought it could be cool to publish the code, so now we’ve cleaned it up a bit and made it public for everyone who want to do a similar project (files are at the bottom of this page).

Read this post to get a deeper understanding of the code and the project in general.

In addition to this code we used the required Fadecandy library, a python-generated .json-file for LED-mapping and a python script which sends a message each time we get a new like on Facebook. To run the code you also need to run the Fadecandy server. You can find instructions on how to do this on the Fadecandy github.

""

Files

You can find the files on our GitHub: http://github.com/NorwegianCreations/15-InteractiveLEDLamp.

Related Posts