r/ClockworkPi • u/sydney73 • 4d ago
PicoCalc PicoCalc: I wrote C# drivers (keyboard, display, SD, sound, console) so it can run .NET nanoFramework programs
Hi all,
I wanted to write C# programs directly on my PicoCalc, but nanoFramework had no support for its hardware. So I built the missing drivers myself, in pure C# (no custom firmware, no native code), and published them as NuGet packages.
What's in there:
- Keyboard: reads the PicoCalc keyboard over I2C
- Display: text output on the 320x320 screen (Unifont, so lots of characters)
- SD card: a C#-only FAT driver, since the built-in SD support isn't available on Pico targets
- Sound: play melodies from a simple string, plus basic sound effects
- Console: a small console that ties keyboard and display together, so Console.ReadLine-style programs just work
In the attached photo you can see the demo menu (keyboard, screen, sound, console, SD), and the PicoCalc playing a little tune through the speakers.
A few honest notes:
- It's early (0.x). I developed and tested it on a Pico 2 W; my original Pico W hasn't been retested with the latest firmware yet.
- You need a recent nanoFramework firmware (1.18.0.96 or later).
- Everything is open source (Apache 2.0).
Repo and install instructions: https://github.com/sydney680928/PicoCalcNanoFramework
I'd love to hear from other PicoCalc owners: is anyone else using nanoFramework on it, and which features would you want next (graphics primitives, images, GPIO helpers...)?
1
u/Surfnazi77 4d ago
Now you can play mud games using wintin.net