Writing PicoCalc programs in C# with .NET nanoFramework (keyboard, display, SD, sound drivers)

Hi everyone,

I wanted to program my PicoCalc in C# with Visual Studio (build, deploy, debug) rather than C/C++, so I wrote the drivers I needed on top of .NET nanoFramework. They’re open source and I’m sharing them in case others find them useful.

What works so far on a Pico 2 W (nanoFramework CLR 1.18.0.96+):

  • Keyboard (I2C)
  • 320x320 display with text, drawing primitives and a Unicode font
  • SD card with FAT32, in pure C#
  • Sound (tones and melodies)
  • A simple text console built on the keyboard and display

I haven’t retested on a Pico 1 with this CLR version, so I’d really like to hear from anyone who tries it there. Bug reports, ideas and “it doesn’t work on my unit” are all welcome, here or as GitHub issues.

Code, docs and samples (Apache 2.0): GitHub - Sydney680928/PicoCalcNanoFramework: Community C# drivers for the Clockwork PicoCalc on .NET nanoFramework: keyboard, display, console, SD card and sound, for Raspberry Pi Pico and Pico 2 W. Not affiliated with Clockwork. · GitHub
Packages are on NuGet under “PicoCalcNano”. This is a community project, not affiliated with Clockwork.

Stéphane

2 Likes