Pimoroni Pico Libraries and Examples
 
 
 
 
 
 
Go to file
Phil Howard 19689b4414 PicoGraphics: Fix overflow bug in p4 pixel span.
A properly aligned zero length pixel span would cause a single
pixel to be drawn, the length overflowed and a subsequent
2GB of pixels drawn by the main loop.

Add a simple check to discard any attempt to draw zero length spans.

Fixes pimoroni/pimoroni-pico-rp2350#32
2025-01-14 12:16:12 +00:00
.github/workflows CI: Fix ccache. 2024-12-03 12:17:10 +00:00
ci CI: Workaround silly mpy-cross build wart. 2024-12-03 11:36:03 +00:00
common Pimoroni I2C: Add reg_write_uint16. 2024-04-15 11:53:34 +01:00
drivers Merge pull request #1006 from PiPicoDev/display_28 2024-12-11 17:24:40 +00:00
examples Add display_pack_28 and demo with FPS, fix spi for rp2350 in st7789 2024-10-01 18:54:35 +01:00
libraries PicoGraphics: Fix overflow bug in p4 pixel span. 2025-01-14 12:16:12 +00:00
micropython Add pin mode definition to fix Button class on Pico 2 2024-12-26 17:08:15 -05:00
.gitignore
.gitmodules MLX90640: Driver and 32x32 LED matrix example 2023-02-22 13:06:55 +00:00
CMakeLists.txt * Fix out of box failure when ARM toolchain is not in path 2023-08-11 11:48:58 +01:00
LICENSE
README.md README: Added link to RP2350 repo 2025-01-07 09:45:06 +00:00
couldnt_find_device_automatically.png add MicroPython FAQ 2022-10-20 16:11:05 +01:00
dfu_mode.png revamp installing micropython page 2022-10-19 17:22:50 +01:00
faqs-micropython.md Fix link 2023-03-24 10:17:27 +00:00
pico_sdk_import.cmake
pimoroni-pico.code-workspace inital work needs testing 2022-09-29 10:21:14 +01:00
pimoroni_pico_import.cmake
setting-up-micropython.md Inky Frame: Remove MicroPython build and examples. 2024-12-03 11:49:28 +00:00
setting-up-the-pico-sdk.md Update setup instructions for macOS 2024-08-23 10:43:37 -04:00

README.md

Pimoroni Pico Libraries and Examples

Welcome to the brave new world of Pico!

This repository contains the C/C++ and MicroPython libraries for our range of RP2040-based boards, Raspberry Pi Pico addons & supported Breakout Garden sensors.

CMake Build Status MicroPython Build Status MicroPython PicoW Build Status GitHub release (latest by date)

MicroPython

⚠️ This repository contains MicroPython builds for RP2040 based products only. If you're looking for RP2350 compatible MicroPython builds see here: https://github.com/pimoroni/pimoroni-pico-rp2350

The easiest way to get started. If you're new to Pico, we recommend you read our getting started with Pico tutorial.

⚠️ All of our MicroPython libraries are baked into a batteries-included, custom version of MicroPython which you can grab from releases: https://github.com/pimoroni/pimoroni-pico/releases/latest/

New releases are issued regularly with new libraries, bug fixes to our existing libraries and new features inherited from MicroPython upstream. Be sure to check back!

MicroPython Examples

You can find MicroPython examples for supported sensors, packs and bases in the "micropython/examples" directory:

You can also install MicroPython stubs into Visual Studio Code to give you auto-complete, see:

C/C++

Advanced users that want to unleash the full power of Pico can use our C++ libraries. If you know what you're doing and want to build your own Pimoroni Pico project then start with the Pimoroni Pico SDK Boilerplate.

C++ Examples

You can find examples for supported sensors, packs and bases in the "examples" directory:

Boilerplate for C++ Projects

We also maintain a C++/CMake boilerplate with GitHub workflows configured for testing and a basic skeleton project.

Supported Products

Packs and Bases

SHIMs

RP2040 Boards

Pico W Aboard

Breakouts

Kits

Tutorials and Guides