#random LEDs on my ws28xx strip blink when updating.
1 messages · Page 1 of 1 (latest)
Am I on the right track?
this is C# .... you don't disable interrupts.... which aren't even accessible from C#
what you're seeing above would be used if you were coding Interop or some low level routine in C/C++
are there ways to solve my problem?
I found these lines in the Arduino library
are there ways to apply this in nanoframework?
I don't think you need anything like that at all.... maybe others have already asked, but do you have code to look at?
because it's hard to try helping without understanding what is already there, what approach was taken, etc ... otherwise turns into guess work...
var ledStrip = new LedStrip(218, new Ws2815b(spi, 218));
_ledStrip.ToggleHalf(_stripFlag, _stripFlag ? Color.Red : Color.Blue);
I changed the colors to make the bug easier to see, now Update is simply called with a red color, but in the video you can see multi-colored flashes
I had this problem on Arduino, but it was easily solved by setting up the library
There is one line in the documentation that throws an exception, I didn't use it, maybe it has something to do with my problem
If this is running on an ESP32 (which I think it is) you should be using the library version for ESP32.... 🤔
https://github.com/nanoframework/nanoFramework.IoT.Device/tree/develop/devices/Ws28xx.Esp32
is is very slow
veeeery slow
1 update for 15 led > 100ms
transmitter.Send(true);