pimoroni/pimoroni-pico logo

pimoroni/pimoroni-pico

Free

Libraries and examples to support Pimoroni Pico add-ons in C++ and MicroPython.

FreeFree tier
Type
Open Source
Company
Pimoroni

About pimoroni/pimoroni-pico

Pimoroni Pico Libraries and Examples is an open-source repository providing C/C++ and MicroPython libraries for Pimoroni's RP2040-based boards and Raspberry Pi Pico add-ons, including Breakout Garden sensors and various displays, packs, and bases. It features batteries-included MicroPython firmware with built-in drivers for displays, breakouts, and other hardware, along with example code for supported products. The repository also includes boilerplate projects for C++ development, regular releases with updates and bug fixes, and tutorials for getting started.

Key Features

C/C++ and MicroPython libraries for RP2040-based boards
Batteries-included MicroPython builds with built-in drivers for displays, breakouts, and sensors
Extensive examples for Pimoroni packs, bases, SHIMs, and breakout boards
Boilerplate C++ project template with CMake and GitHub workflows
Regular releases with new libraries, bug fixes, and upstream MicroPython features
Support for Breakout Garden sensors and add-on ecosystems

Pros & Cons

Pros
  • Comprehensive libraries covering both MicroPython and C/C++ development
  • Pre-built MicroPython firmware eliminates need to compile from source
  • Active maintenance with frequent releases and bug fixes
  • Large collection of examples for a wide range of Pimoroni products
  • Well-documented with getting started guides and FAQs
Cons
  • MicroPython builds only support RP2040-based products (not RP2350 in this repo)
  • Limited to Pimoroni hardware ecosystem
  • C/C++ libraries require advanced knowledge of embedded development setup

Best For

Developing firmware for Pimoroni RP2040 boards and add-onsPrototyping with Breakout Garden sensors and displaysEducational projects and learning embedded development with MicroPythonBuilding custom C++ applications for Raspberry Pi Pico and compatible hardware