]> git.earman.xyz Git - sensor-watch.git/commit
faces/pulsometer: implement advanced pulsometer
authorMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Wed, 21 Feb 2024 09:00:18 +0000 (06:00 -0300)
committerMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Sat, 24 Feb 2024 08:17:43 +0000 (05:17 -0300)
commitea47bf9f22af080a75c00743cc14eeeb4e87e723
treee90cd923b9e484eda1fd7adac4473bc1fd089249
parentaf18673e1aa53091880d829a6fa4d7e23a6b4381
faces/pulsometer: implement advanced pulsometer

Implements an advanced pulsometer that can be recalibrated by the user.
The main clock face now displays the measured pulses per minute.
The day of month digits now display the pulsometer calibration.
The light button now cycles through integer graduations
which now range from 1 to 39 pulses per minute.
Long presses of the light button cycle by 10 instead of 1.

The watch face's responsiveness to input has been carefully optimized.
The code has been reorganized and generally improved.
movement/watch_faces/complication/pulsometer_face.c
movement/watch_faces/complication/pulsometer_face.h