OK, I got a weird problem and I’m surely missing something. Maybe I’m still high from my trip at Amsterdam.
Here my setup:
- The latest SDK
- A cerberus with latest firmware
- A ENC28 module on the pin 6
- An extender on pin 5 with the LPD8806 led strip.
My program get some information from the WebServer, and send what to switch on/off to the led strip.
I tested, the web server works good.
But the led strip is totally out of control.
First, when I initialize it, I switch off the led. And it’s always all white and always switch on.
I checked with 4 differents code source, all with different implementation. All the same.
So, I tried my code deleting all the ethernet part, and removing the ENC28 module.
And it works. Almost. After almost one second I got the 4 first led in white.
So, I see 2 problems :
Why the ethernet module disturb the led strip writes ? I remember Gus talking about a bad design with pin 5 and 6, but I’m not sure it’s related.
Why after a little time, I got the first leds switch on ? I checked my code, I never write something. Do I need to always writes a array of zero values ?
Thanks in advance for your help.