These are chat archives for Makuna/NeoPixelBus

12th
Mar 2016
Michael Miller
@Makuna
Mar 12 2016 02:25
Oh yeah, I forget about how gpio doesn't match the D# on the boards; but does match actually using a number in software.
gavspav
@gavspav
Mar 12 2016 07:31
Hmm but i forgot that Uart ignores the pin number anyway? Doesnt it?
Michael Miller
@Makuna
Mar 12 2016 08:05
@gavspav yes, but the hardwired pin is gpio2 for uart I thought. Check the wiki.
gavspav
@gavspav
Mar 12 2016 08:51
Yes the wiki states the pin is ignored and gpio2 is used. That was the one i was using though!
Software pin number i mean
Michael Miller
@Makuna
Mar 12 2016 19:24
Another way to test, put an led on the pin, and use a test sketch of 100 pixels that contains white, over and over again as fast you can. You will need to call Dirty just before Show to make sure it sends. The led should show some light. This is under the theory that the led will just see the data train as a PWM light level, as the color white is 66% duty cycle with an unperseptible flash from the latch in the data train .
That's a normal led and not a neopixel.
You can test the led before this by just calling digitalWrite (2, high)
gavspav
@gavspav
Mar 12 2016 20:10
Thanks, will try that. Starting to think i must be making a stupid mistake that i cant see. I had it working a few months ago as well!