Turi Scandurra's Library Collection Gets Your Raspberry Pi Pico 2, RP2350 C Projects Started Right
From multi-timbral synthesis and eight-channel sequencing to LED animations and button debounce, these libraries are a handy resource.
Self-described creative technology and designer Turi Scandurra has been experimenting with the new Raspberry Pi Pico 2 and its RP2350 dual-architecture microcontroller β and has gathered together a collection of useful C libraries compatible with the new chip, as well as its predecessor the RP2040.
"If you're writing C code for the new Raspberry Pi Pico 2," Scandurra suggests in an effort to help those making the jump to Raspberry Pi's shiniest new in-house silicon design, "you might find something useful in this little collection of libraries I've worked on."
Released earlier this month, the Raspberry Pi Pico 2 is a major upgrade over the original Raspberry Pi Pico thanks to a new system-on-chip, the RP2350 β an unusual dual-architecture design that offers the choice of using two Arm Cortex-M33 cores or two free and open source Hazard3 RISC-V cores, or one of each for those looking to push the experimental envelope. With higher performance, nearly double the memory, and support for up to 16MB of external pseudo-static RAM (PSRAM), it's a major upgrade over the RP2040 β but it's going to be a while before it enjoys as broad support in the software ecosystem.
That's where Scandurra is aiming to help, releasing a collection of tested C libraries, which are known to work with both the original RP2040 and the new RP2350 on the Raspberry Pi Pico 2 and a growing number of third-party development boards. Some have been written by Scandurra himself; others ported from existing open source projects.
Libraries offered in the collection include audio playback and synthesis tools, including a polyphonic multi-timbral direct digital synthesis library with an eight-channel sequencer, a polling library for keypad matrices, a button debounce library, a moving-average filter, a "battery check" that monitors the voltage on the VSYS pin, and an animation library for WS2812B addressable RGB LEDs.
The full library collection is available on GitHub, under the permissive MIT license.