An Introduction to RP2040 PIO with CircuitPython by Jeff Epler published March 03, 2021, last edited January 22, 2025 last major update May 10, 2022 posted in Raspberry Pi Microcontrollers CircuitPython Programming/ MicroPython / CircuitPython Save New Favorite × Please sign in to include this guide in your list of favorites. You will be redirected back to this guide once you sign in, and can then save this guide as one of your favorites. Download Overview Installing CircuitPython Installing the Mu Editor Installing Libraries Using PIO to turn an LED on and off Using PIO to control LED brightness Using PIO to blink a LED quickly or slowly Using PIO to drive a NeoPixel Advanced: Generating Morse Code with Background Writes Advanced: Driving 7-segment displays with Background Writes Advanced: Using PIO to drive NeoPixels "in the background" Advanced: Using PIO to control Servos with Background Writes API Documentation: adafruit_pioasm API Documentation: rp2pio Single page Feedback? Corrections? Text View Featured Products view all Adafruit Feather RP2040 $11.95 Add to Cart Raspberry Pi Pico RP2040 $4.00 Add to Cart Raspberry Pi Pico RP2040 with Loose Unsoldered Headers $5.00 Add to Cart Your browser does not support the video tag. Adafruit ItsyBitsy RP2040 $9.95 Add to Cart Your browser does not support the video tag. Adafruit QT Py RP2040 $9.95 Add to Cart Adafruit MACROPAD RP2040 Bare Bones - 3x4 Keys + Encoder + OLED $34.95 Add to Cart Your browser does not support the video tag. Adafruit MacroPad RP2040 Starter Kit - 3x4 Keys + Encoder + OLED Out of Stock 93 Beginner Skill guide API Documentation: adafruit_pioasm Page last edited March 02, 2021 Text editor powered by tinymce. Advanced: Using PIO to control Servos with Background Writes