Using PIO for Neopixels on QT Py RP2040

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
BackwardsLED
 
Posts: 19
Joined: Sun Aug 05, 2018 4:16 pm

Using PIO for Neopixels on QT Py RP2040

Post by BackwardsLED »

I've been driving a lot of Neopixel installs from the QT Py RP2040, which is fantastic product for CircuitPython development because it has plenty of space for libraries and RAM for large pixelbuf arrays (and is relatively low-cost and small).

I saw the new RP2040 SCORPIO, and while I don't need to do multiple strands, I am interested in using the PIO on the QT Py. How do I go about doing that? Are there different libraries to use, or flags to pass? I think I need to use the PIOASM library; is there an easy way to get the super-easy CircuitPython NeoPixel library to use it?

User avatar
mikeysklar
 
Posts: 13824
Joined: Mon Aug 01, 2016 8:10 pm

Re: Using PIO for Neopixels on QT Py RP2040

Post by mikeysklar »

The two libraries you will need to add are the NeoPxl8 and pioasm. This guide designed for the Scorpio will walk you through the CircuitPython library setup.

https://learn.adafruit.com/introducing- ... it_neopxl8

Try the simple test code.

https://github.com/adafruit/Adafruit_Ci ... pletest.py

User avatar
BackwardsLED
 
Posts: 19
Joined: Sun Aug 05, 2018 4:16 pm

Re: Using PIO for Neopixels on QT Py RP2040

Post by BackwardsLED »

Perfect, thanks! I got a little thrown off by the pxl8 name and thought it was Scorpio specific.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”