Uniclock

One of the first things I did with my shiny new Galactic Unicorn was to fire up the example clock, which is a wonderful way to show off the display.

It sat on my desk for a day or two before I realised how incredibly annoying it was that the 1 digit is a pixel narrower than all the other digits, so the display was constantly shifting left and right with (at certain times of day) every tick.

Seeing an opportunity to explore the C++ side of things, I rebuilt the clock, addressing that annoying shift and adding some other bells and whistles too:

Some of this stuff (like the mass storage file-based bits) would end up going into the boilerplate, but mostly it was a chance to dig into a lot of new stuff for the first time.

The code was released in March 2023; as with so many things it’s still got some features on the to-do list - I still want to make the timezone handling stuff smarter - but it’s been working happily as my living room clock ever since!

Rp2xxx