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
drivers Merge pull request #1006 from PiPicoDev/display_28 2024-12-11 17:24:40 +00:00
examples
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
CMakeLists.txt
LICENSE
README.md README: Added link to RP2350 repo 2025-01-07 09:45:06 +00:00
couldnt_find_device_automatically.png
dfu_mode.png
faqs-micropython.md
pico_sdk_import.cmake
pimoroni-pico.code-workspace
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

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