ws2812b
ws2812b copied to clipboard
Add Odroid C4 project
PR fix / feat
Changes include customizable one, zero mask per interface. Speed is related to mask thus arbitrary speed isntead of 10MHz. Added Odroid C4 project. Modified test, added macro to either change all colors of the strip or single led.
https://user-images.githubusercontent.com/594470/235141408-7c5c486d-bfec-4faa-bb36-9ebf495f8e59.mp4
Also FastLed has function to calculate bit pattern which may be useful
Thank you for your contribution.
Can confirm this is also working on ODroid N2+ with DATA pin connected to GPIOX_8
(pin 19)
But for some reason I'm getting flickering lights, running both the Odroid and the LEDs on the same 7v and GND.
https://github.com/hepingood/ws2812b/assets/2140323/54f6431b-3c91-4862-9748-cf2c723dabde
I'm running a sequence to make a one led a time brighter than the others, and sometimes they all turn green/blue for second or all turn bright.
@aleksas Do you know why that could happen?
I get some rogue flickering also from time to time. That's all related to signal timing. To fix that some research should be done with oscilloscope. But I'm not very proficient with that. I've calculated timing based on odroid SPI speed settings and led timing from led datasheet. Might not be the most optimal timings.