I have hooked up a programmable ws2812 LED . The Datasheet says "Default power on does not light up"
Using the hook up guide and a breadboard I have a single LED where ...
- DIN is attached to GPIO 10 on the PiZero (tried with and without 220 resister)
- VDD is attached 5V (Board Pin 2) - For single LED this should be fine
- GND is attached (Board Pin 6)
- DOUT is not attached
I am testing just with one LED for now. This is the Python Script saved as app.py that is running using
sudo python3 app.py
import board import neopixel pixels = neopixel.NeoPixel(board.D10, 1) #pixels.fill((0, 255, 0)) pixels = (255, 0, 0) pixels.show()
SPI has also been enabled on the Pi via https://www.raspberrypi-spy.co.uk/2014/08/enabling-the-spi-interface-on-the-raspberry-pi/
I have confirmed with a multimeter there is 5V on the LED pins.
However it runs with out code error however the LED does not light up in any way.