0

I'm using an Raspberry Pi 4 Model B Rev 1.2 to control an RGB-Ringlight with Python using the Neopixel library. I'm getting the error message: ws2811_init failed with code -11 (Selected GPIO not possible) My code is:

LightMode.CONTROLLER = neopixel.NeoPixel(board.D1,LED_COUNT,brightness=1,pixel_order=neopixel.GRB,auto_write=True,bpp=3)
LightMode.CONTROLLER.fill((0,0,0))

gpio readall tells me BCM Pin 18 is GPIO 1 so I set the pin to 1

1 Answer 1

-1

Found the error. NeoPixel uses the Board Pin numbers, not GPIO numbers.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.