bob_moody
Apprentice elf
[I actually posted this in another thread by Elnino but thought it really was a seperate topic. So I'm reposting in a new thread... Bob ]
Using the base sketch from Elnino, I wanted to play with the Arduino and an Ethernet shield. I did get Elnino sketch to work and it works great in Xlights and in LOR using the 2811 pixels that I had. Since I picked up several strings of GECE's I thought I would attempt to modify the sketch and change the library and calls to use the G35 library. Here is where I am at with it.
++++++++
Well it took a little while (most of it my own fault... running LOR CP and Xlights at the same time and not realizing it) but I did manage to modify Elnino's script to support GECE pixels.
Other than converting library calls, my biggest obstacle was the bit color. The GECE's are 12 bit (4-bits each for R,G, and B). So everything worked fine when I slid the slider on Xlights from 0 to 15, After that it was generating all sorts of interesting colors.
I found that with bit swapping (x >> y ) rotating to the right 4 bits each of the colors coming in from the sACN packet and that appears to have resolved the issue. Now 0 to 255 on xLights results in only the single color being presented.
I havent looked in to it yet, but I'm hoping this sketch will fit on an Arduino mini allowing me to create a couple of those $10 utility controllers.
If any one is interested I will post the script. Thanks again to Elnino for the basis to start this project.
Bob
NEED HELP PLEASE.. It works in LOR .. sorta but not really... In Xlights, its rock solid. In LOR, the lights seem to be pulsing at the packet rate. That is to say the pin 13 LED on the Arduino is blinking and its in sync with the blinking of the lights. Although the color changes are working. Its in a permanent blink .. ARGGHHHH..
Bob
Using the base sketch from Elnino, I wanted to play with the Arduino and an Ethernet shield. I did get Elnino sketch to work and it works great in Xlights and in LOR using the 2811 pixels that I had. Since I picked up several strings of GECE's I thought I would attempt to modify the sketch and change the library and calls to use the G35 library. Here is where I am at with it.
++++++++
Well it took a little while (most of it my own fault... running LOR CP and Xlights at the same time and not realizing it) but I did manage to modify Elnino's script to support GECE pixels.
Other than converting library calls, my biggest obstacle was the bit color. The GECE's are 12 bit (4-bits each for R,G, and B). So everything worked fine when I slid the slider on Xlights from 0 to 15, After that it was generating all sorts of interesting colors.
I found that with bit swapping (x >> y ) rotating to the right 4 bits each of the colors coming in from the sACN packet and that appears to have resolved the issue. Now 0 to 255 on xLights results in only the single color being presented.
I havent looked in to it yet, but I'm hoping this sketch will fit on an Arduino mini allowing me to create a couple of those $10 utility controllers.
If any one is interested I will post the script. Thanks again to Elnino for the basis to start this project.
Bob
NEED HELP PLEASE.. It works in LOR .. sorta but not really... In Xlights, its rock solid. In LOR, the lights seem to be pulsing at the packet rate. That is to say the pin 13 LED on the Arduino is blinking and its in sync with the blinking of the lights. Although the color changes are working. Its in a permanent blink .. ARGGHHHH..
Bob