Drawing PPM images on the Tildagon in MicroPython


Various circuit boards showing images.

The Tildagon has 2MB of RAM. That's not enough to do... well, most things you'd want to do with a computer! There's not much processing power, so running complex image decoding algorithms might be a bit beyond it. Is there a simple image format which can be parsed and displayed? Yes! The ancient Portable PixMap (PPM) format. The standard is beautiful in its simplicity. Here's the header: P6 # Created by GIMP version 2.10.38 PNM plug-in 120 120 255 ���t�{... The P6 identifies it as a PPM…

Continue reading →

Setting the time on the Tildagon


Hexagonal circuit board with circular screen. It is showing the date and time.

I'm beginning my adventures in MicroPython in the hope that I'll have something interesting working on the Tildagon Badge for EMF2026. Here's a basic implementation of a clockface. Here's how to set the time on the badge. There's a hardware clock which should keep time between reboots. Install mpremote on your computer. Connect the Tildagon to your computer using a USB-C data cable On your computer's command line, run mpremote. You should see: > Connected to MicroPython at /dev/ttyACM0 >…

Continue reading →