Add Tachymeter face (#165)

* Create template for tachymeter

* Basic working tachymeter

* Improve UI for running and results

* Allow editing distance

* Alarm long-press to enter and exit editing mode

* Improve light button behaviour

* Set distance digit wise.

* Use 250ms resolution for total time

* Improve comments

* Bugfix: Show distance when running and face becomes active

* Update `%d` to `%lu` in `sprintf` call for `uint32_t`

* Ignore Alarm button (Up and Long-press) when showing results

* Improve GUI when running and face gets activated

* Change speed indicator from `/H` to `/h`

* silence warnings in tachymeter face

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
This commit is contained in:
Raymundo Cassani
2023-01-10 16:43:04 -05:00
committed by GitHub
parent 18de75be5a
commit fee6145e4d
4 changed files with 336 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ SRCS += \
../watch_faces/complication/ratemeter_face.c \
../watch_faces/complication/rpn_calculator_alt_face.c \
../watch_faces/complication/stock_stopwatch_face.c \
../watch_faces/complication/tachymeter_face.c \
# New watch faces go above this line.
# Leave this line at the bottom of the file; it has all the targets for making your project.