joeycastillo / Sensor-Watch

A board replacement for the classic Casio F-91W wristwatch
Other
1.02k stars 210 forks source link

Expose character mapping internals and add invert #346

Open wryun opened 6 months ago

wryun commented 6 months ago

Allowing the faces to access the internal segment mapping code makes it easier to have custom characters and have fancy effects.

This is the refactoring which was originally done for https://github.com/joeycastillo/Sensor-Watch/pull/102 with a few tweaks to keep it up to date.

This also adds the ability to invert the display (bonus) and reduces some minor code duplication (for the _lp display function).