picocalc-extras is a set of pieces for Pico SDK programs on the RP2350 PicoCalc, built alongside Blair Leduc’s picocalc-text-starter drivers. Each piece is a line or two of CMake to bring in, and all of it is MIT-licensed.
- bluetooth/: a Bluetooth keyboard, mouse and gamepad (Pico 2 W), plus btpair to pair them. The keyboard’s keys come through the normal keyboard reads, so most programs need one line:
btkbd_init(). - picker/: a file picker with an optional banner and preview panel.
- images/: JPEG, PNG and BMP decoders that fit a picture to a frame.
- fatfs/: the SD card’s file system as one CMake library.
- The shared clock (settime) and screenshot code.
Add it as a git submodule pinned to a release. The README has the quick start, and each piece’s README has a “Using it in a program” section. calcterm, Diamond, the picture viewer and the ShapoNES port all use it, so they’re worked examples to copy from.
New in 2.3: a Bluetooth keyboard and Wi-Fi at the same time, on the one radio. Set BTKBD_WITH_WIFI, start the radio yourself with your country, then call btkbd_init(). calcterm 0.5 does exactly that.
Release:
If you’ve written something another program could use, send it in rather than keeping a copy of your own; CONTRIBUTING.md says how.
Questions and requests welcome here.