that along with RGB vs GRB and leading start pulse duration
Pull-up on data line (see reference in reddit link)
Any ability to try a different Neopixel type? Some are 12V, different gating, end pulse state?
What is driving the Neopixel? Regulator on that board, or separate supply?
Try writing a larger array, to rule out rounding of starting pulse (which causes first green LED, BTW) [055,055,055, 055,055,055, 055,055,055, 055,055,055]) Smaller value to reduce load on regulator, and all lit to see if pulse rounding issue is resolved
Ability to use Logic Analyzer to validate data sent?
EDIT: (see post #7 explanation - now built in)
Could there be a module retrieval delay that is beyond the 1 second timeout interval shown?
FWIW: I've always assigned the results of the require to a separate object after init, and performed future array writes in separate functions after a three second wait. Always successful on Pico, Wifi and MDBT42Q when using a level shifter.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sat 2020.10.03
Hi @parasquid, no experience with the nRF52840DK and as there are many variants:
Taking into consideration: (in case this statement is found inaccurate)
Some ideas to explore:
Is there a level shifter, or is a level shifter required? (several in link above)
Separate supply and grounding consideration
Any possibility of a Neopixel strip of several LEDs to rule out flaky first green LED issue
that along with RGB vs GRB and leading start pulse duration
Pull-up on data line (see reference in reddit link)
Any ability to try a different Neopixel type? Some are 12V, different gating, end pulse state?
What is driving the Neopixel? Regulator on that board, or separate supply?
Try writing a larger array, to rule out rounding of starting pulse (which causes first green LED, BTW)
[055,055,055, 055,055,055, 055,055,055, 055,055,055])
Smaller value to reduce load on regulator, and all lit to see if pulse rounding issue is resolved
Ability to use Logic Analyzer to validate data sent?
FWIW: I've always assigned the results of the require to a separate object after init, and performed future array writes in separate functions after a three second wait. Always successful on Pico, Wifi and MDBT42Q when using a level shifter.