I would love some code snippets ;)
They dont seem to provide the schematic directly but i bought this one
What i mean with the normal 3.3v pin is the pin that always just supplies 3.3v, i dont know how to target that pin through code. I will upload some videos of the application.
Thanks for your replies ! I did some investigation based on your answers and then it hit me.. I was driving the 3.3v side of the logic level shifter from Pin D25 with pinMode as 'input_pullup'.. bad idea. Moved it to normal 3.3 v pin. Now everything works smooth, first led works, dual strips.
Do you know why that was not working ?
Hey so i got it to work thanks to the logic level shifter. But 2 other problem arose. I can't write to 2 different pins, which drives 2 different neopixel strips. Both are 9 leds long. Also cant seem to get the first LED lit up on either of the strips.
So once i write to 2 the API freezes and i need to reset the board before i can write to any again.
Im using pin D16 and D18
Alright, great stuff. Will go with a dedicated logic level shift circuit.
Thanks for the responses, I don't seem to get it working, I know the ws2812b is rated for 5v but it should work with 3.3 as signal and 5v for vcc. I wired it to pin D30 and tested
Is there anyway i can use a very short strip of WS2812B (9 leds) with the MDBT42Q module i see it doesn't have SPI, but can i send a signal any other way ?
© Espruino, powered by microcosm.
Report a problem