SimpleNeoPixelDemo
SimpleNeoPixelDemo copied to clipboard
Needs of the datasheet
Hey, so I bought some "NeoPixels" from AliExpress, and while they're obviously a Chinese clone, it turns out that they actually do follow the datasheet.
I took this code and put in these values:
#define T1H 700 // Width of a 1 bit in ns
#define T1L 600 // Width of a 1 bit in ns
#define T0H 350 // Width of a 0 bit in ns
#define T0L 800 // Width of a 0 bit in ns
#define RES 50000 // Width of the low gap between bits to cause a frame to latch
Which is what the datasheet says, and now the Chinese clones work. Not sure if you want to do something with this knowledge? Maybe a comment? Maybe if your NeoPixels work with these values, then maybe have these be the thing?
Did you need to change the T* values, or maybe it is just you needed a longer RES then 6000?