diff options
-rw-r--r-- | movement/watch_faces/demo/voltage_face.c | 13 | ||||
-rw-r--r-- | movement/watch_faces/sensor/thermistor_readout_face.c | 12 |
2 files changed, 22 insertions, 3 deletions
diff --git a/movement/watch_faces/demo/voltage_face.c b/movement/watch_faces/demo/voltage_face.c index 51ed9ccb..d224851b 100644 --- a/movement/watch_faces/demo/voltage_face.c +++ b/movement/watch_faces/demo/voltage_face.c @@ -68,8 +68,17 @@ bool voltage_face_loop(movement_event_t event, movement_settings_t *settings, vo } break; case EVENT_LOW_ENERGY_UPDATE: - watch_clear_indicator(WATCH_INDICATOR_SIGNAL); - watch_display_string("BA SLEEP ", 0); + // clear seconds area and start tick animation if necessary + if (!watch_tick_animation_is_running()) { + watch_display_string(" ", 8); + watch_start_tick_animation(1000); + } + // update once an hour + if (date_time.unit.minute == 0) { + watch_clear_indicator(WATCH_INDICATOR_SIGNAL); + _voltage_face_update_display(); + watch_display_string(" ", 8); + } break; default: movement_default_loop_handler(event, settings); diff --git a/movement/watch_faces/sensor/thermistor_readout_face.c b/movement/watch_faces/sensor/thermistor_readout_face.c index 8a78f73a..2b8ea18d 100644 --- a/movement/watch_faces/sensor/thermistor_readout_face.c +++ b/movement/watch_faces/sensor/thermistor_readout_face.c @@ -77,7 +77,17 @@ bool thermistor_readout_face_loop(movement_event_t event, movement_settings_t *s } break; case EVENT_LOW_ENERGY_UPDATE: - watch_display_string("TE SLEEP ", 0); + // clear seconds area and start tick animation if necessary + if (!watch_tick_animation_is_running()) { + watch_display_string(" ", 8); + watch_start_tick_animation(1000); + } + // update every 5 minutes + if (date_time.unit.minute % 5 == 0) { + watch_clear_indicator(WATCH_INDICATOR_SIGNAL); + _thermistor_readout_face_update_display(settings->bit.use_imperial_units); + watch_display_string(" ", 8); + } break; default: movement_default_loop_handler(event, settings); |