segment lcd: add indicator methods, document character map

This commit is contained in:
Joey Castillo
2021-08-07 11:22:49 -04:00
parent 8a49b9ae2b
commit f102be4864
3 changed files with 84 additions and 19 deletions

View File

@@ -114,7 +114,7 @@ bool app_loop() {
temperature = read_temperature(NULL);
sprintf(buf, "TE %4.1f#C", temperature);
watch_display_string(buf, 0);
watch_clear_pixel(1, 16);
watch_clear_colon();
break;
case MODE_HUMIDITY:
// take one reading
@@ -126,7 +126,7 @@ bool app_loop() {
humidity = read_humidity(t_fine);
sprintf(buf, "HU rH %3d", (int)humidity);
watch_display_string(buf, 0);
watch_set_pixel(1, 16);
watch_set_colon();
break;
case MODE_OFF:
watch_display_string(" Sleep ", 0);