travisgoodspeed / goodwatch

Replacement board for Casio Calculator Watches using the CC430F6147
508 stars 55 forks source link

Add swatch internet time (beats) app #146

Closed tahnok closed 3 years ago

tahnok commented 3 years ago

Swatch internet time is a time keeping system that divides the mean solar day into 1000 beats for a more sensible time system. It also gets rid of timezones, everything is relative to UTC+1. This here app lets the goodwatch show the current time in beats

travisgoodspeed commented 3 years ago

Awesome! It looks nice and lean, and the divisions are performed rarely, so they oughtn't be much of a power concern.

Before merging, I'd like to add support for "fall through" button pressing, so that the Internet time can be quickly checked from the Clock applet by pressing a button on the second from bottom row. As an example, this is done by the Hebrew app to display calendar dates without mode switching.

tahnok commented 3 years ago

Good idea, I've added another commit to implement then when you press "1", as that seems like it wasn't used by the hebrew app

travisgoodspeed commented 3 years ago

I moved the timezone to config.h, with an #error when undefined. Please add some documentation to the goodwatch wiki and consider a PR that somehow adds timezone support to the watch without consuming a ton of Flash memory.