I'm working on a project where I need to drive some SK6812 LED strip and I'm having trouble getting the strip to do anything at all. I'm using the ItsyBitsy nRF52840 and I've confirmed that I've got everything connected properly and ruled out anything from this troubleshooting list: https://learn.adafruit.com/make-it-glow ... leshooting. The only things left that I haven't ruled out are either software issues or a defective strip.
As far as software goes, I've installed the latest version of CircuitPython (7.3.3) and tried to run the following simplified code to see if I can get any of the pixels to light at all:
Code: Select all
import board, time, neopixel
num_pixels = 5
pixel_pin = board.D5
order = neopixel.RGBW
strip = neopixel.NeoPixel(pixel_pin, num_pixels, brightness = 0.5, auto_write = True, pixel_order = order)
while True:
for i in range(num_pixels):
strip[i] = (255, 0, 0 , 0)
time.sleep(0.5)
strip.fill((0, 0, 0, 0))
Thanks in advance!