Read and decode .led file
So I'm working on a flexible LED screen persisting of 20 metres of digital RGB LED strip with WS2811 IC for each LED.
I want to control this using Ardino, which isn't a problem using FastSPI. My problem is, that I want to create different LED programs (for instance using LedEdit 2013) which can then be exported to *.led files.
This in itself isn't a problem, as I have already generated these files. The problem is how to read and decode the *.led file? From what I have been able to read around the internet (searching around for couple hours now) is that the file persist of some sort of header followed by base64 encoded information about the x and y position of LEDs that should be turned on and which color they should be (rgb 0-255 value I suppose). I am not entirely sure how exactly I am going to decode this signal and get something actually useful out of it?
If I can just get some useful information out, I can surely program my way out if implementing it with the FastSPI library for Arduino.
An example of a *.led file made from a simple 10x10 LED setup with 20 frames can be found here: http://codesmith.dk/00_1.led
Thanks in advance.
So I'm working on a flexible LED screen persisting of 20 metres of digital RGB LED strip with WS2811 IC for each LED.
I want to control this using Ardino, which isn't a problem using FastSPI. My problem is, that I want to create different LED programs (for instance using LedEdit 2013) which can then be exported to *.led files.
This in itself isn't a problem, as I have already generated these files. The problem is how to read and decode the *.led file? From what I have been able to read around the internet (searching around for couple hours now) is that the file persist of some sort of header followed by base64 encoded information about the x and y position of LEDs that should be turned on and which color they should be (rgb 0-255 value I suppose). I am not entirely sure how exactly I am going to decode this signal and get something actually useful out of it?
If I can just get some useful information out, I can surely program my way out if implementing it with the FastSPI library for Arduino.
An example of a *.led file made from a simple 10x10 LED setup with 20 frames can be found here: http://codesmith.dk/00_1.led
Thanks in advance.
No comments:
Post a Comment