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?
Using PIO for Neopixels on QT Py RP2040
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 13828
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Using PIO for Neopixels on QT Py RP2040
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
https://learn.adafruit.com/introducing- ... it_neopxl8
Try the simple test code.
https://github.com/adafruit/Adafruit_Ci ... pletest.py
- BackwardsLED
- Posts: 19
- Joined: Sun Aug 05, 2018 4:16 pm
Re: Using PIO for Neopixels on QT Py RP2040
Perfect, thanks! I got a little thrown off by the pxl8 name and thought it was Scorpio specific.
Please be positive and constructive with your questions and comments.