Anyone got luck with neopixel?

Trying to code Arduino with neopixel

Adafruit has an excellent tutorial.

Check this out on project hub:
https://create.arduino.cc/projecthub/robocircuits/neopixel-tutorial-1ccfb9

What have you tried to do this?

I think the other replies are missing the point here. The existing WS2812 libraries are not compatible with the RP2040 chip. You can run a strip with the PIO state machine pins, but my understanding is that this is not yet supported in an Arduino environment.

You might be able to do it if you install one of the Python variants but the you loose access to all the stuff that makes it an Arduino and not a Raspberry Pi controller.

Hi, Check out the Adafruit library. It already has the RP2040 included.

1 Like

Well it does since:-
https://forum.arduino.cc/t/adafruit_neopixel-library-adapted-for-raspberry-pi-pico-rp2040/704414

You can try out this library that uses PIO 0 and state machine 0. API is simple to use and the library is available in the Arduino Library Manager.

NeoPixelConnect

There is an example on the repository home page.

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.