Adafruit_Neopixel library adapted for Raspberry Pi Pico (RP2040)

I have added RP2040 support to the latest Adafruit_Neopixel library and it is available here.

It works with the board support package created by Earle Philhower here.

This uses the PIO capability of the RP2040 to handle the timing of the serial stream, so is conveniently processor clock speed independant. (Pico tested from 50MHz to 133MHz (and overclocker to 250MHz) CPU clock.

1 Like

Interesting. Would this also work with the official ArduinoCore Mbed library at GitHub - arduino/ArduinoCore-mbed ?

Oh it does work! I had to remove the import for pico/stdio.h at te top of the cpp file, however :slight_smile:

Yes, there are a couple of header file references that have to be deleted. Adafruit accepted my updates to their master copy so you can use theirs now.

1 Like

This topic was automatically closed after 95 days. New replies are no longer allowed.