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

@@ -62,6 +62,7 @@
#include "rpn_calculator_alt_face.h"
#include "weeknumber_clock_face.h"
#include "stock_stopwatch_face.h"
#include "tachymeter_face.h"
// New includes go above this line.
#endif // MOVEMENT_FACES_H_