I recently updated my arduino IDE to the latest version, and reinstalled my fastled libraries. For some reason now, my 2812Bs are not animating the first pixel in each output. I’m using arduino 1.8.2
#define USE_OCTOWS2811
#include<OctoWS2811.h>
#include<FastLED.h>
Might be a bug in the latest OctoWS2811, almost certainly my fault…
How do I revert to fix it?
You can get the old 1.2 version here
My tests suggest that there is one pixel of garbage, and probably uninitialized data at the start of the string. When I shorten my display by 2 pixels, it doesn’t update the first and last pixel. Also, the first pixel will have different colors depending on powerup conditions.
If it helps, my display is 111x8
So I selected 1.2 in the manage libraries menu instead of the download from github. This added a folder in my libraries under my user documents for the octows2812 library. The compile gave me all sorts or errors. I suspect the 1.2 library is not compatible with the latest fastled library. After doing this, I was unable to revert back to 1.3.0 from the manage libraries menu. I deleted the newly created library folder, and the manage libraries menu updated to 1.3, however the build seemed to still be broken. I fixed it by re-installing the Arduino suite, and re-installing Teensyduino. I also tried placing the 1.2 octows1228 cpp and h files directly in my project folder and changing the #include to use “” instead of <>. This also didnt make the build any happier. So at this point, I have 3 options as I see it. 1) hope this gets resolved in time for Burning Man, 2) get more help on building using the 1.2 libraries. 3) depend on the first pixels not lighting up on a fresh powerup, and cover those pixels on the artwork so people can’t see them.
I forgot to mention that one of the compile errors was that it found 2 copies of the library.
I’ve uploaded a new version with OctoWS2811 fixes. Please give it a try and let me know if it solves this problem on your LED strips.
https://forum.pjrc.com/threads/44904-Teensyduino-1-37-Beta-3
Thanks. I will do that tonight.
Another beta just published. This is probably the last beta before 1.37 releases. If you’re going to look at this, now’s the time to report any issue!
https://forum.pjrc.com/threads/44937-Teensyduino-1-37-Beta-4
Sorry I didn’t get back yet. I’ve been furiously building an art for BM. I
hope to test again Monday.
Just in time! I’m going to finalize 1.37 either this afternoon or early Tuesday morning. If you find anything wrong, please let me know ASAP?
OK, When I get home from work today. Thanks. Did you find anything that
may have caused a problem with the first pixel? Just wondering is I should
be hopeful or not.
So far only 1 of the dozen people who reported issues has actually tested. Well, and I tested here. Even that 1 guy wrote a very brief message of only a few words that’s hard to understand. Kinda frustrating sometimes…
I want you to know that you work is appreciated. Some people shrug off
free firmware, but as a professional embedded systems programmer, I
appreciate that someone did the work and shared it so others could benefit
without having to re-invent it. The octo-WS allows me to have a much
bigger display with less cpu overhead. Thanks for your contribution.
Fixed. The first pixel on all 8 outputs now works.