hn.today

Python on My Wrist

tildeweb.nl4 points0 comments
Screenshot of Python on My Wrist

The PineTime is a $27 open smartwatch, better understood as a programmable Casio than an Apple Watch: its 64 MHz processor and 64 KB of RAM leave only about 12 KB for apps after the operating system and Bluetooth stack. Its modest resources make it a useful challenge for MicroPython. The watch originally shipped with InfiniTime, but its creator preferred wasp-os, a Python-based operating system that had become difficult to build and was still based on a 2019 MicroPython fork. Returning to the project, he set out to make it usable and bring it up to date.

The revived wasp-os now builds with a single setup command, flashes over Bluetooth in roughly half the former time, and has 12.4 KB of free RAM at boot instead of 7.1 KB. It also gains a watchdog, fixes for vibration and touch controls, and better recovery from hardware errors. Porting it to current MicroPython required three changes that were accepted upstream, removing the need for a separate fork. New examples include a Dutch-language clock, a blocky pixel clock, and an optional app that cycles through portraits and Python-related logos. A compact image format keeps the four images under 12 KB, essential on a watch with limited firmware space. A more capable PineTime Pro is in development, but has no release date.

Read on tildeweb.nl0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Other

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.