Moved AC/DC out of the way of the minus sign, added an h glyph for hFE display.

This commit is contained in:
2026-05-26 16:44:25 +02:00
parent e5104fc005
commit 6f4e2b9319
2 changed files with 9 additions and 2 deletions
+7
View File
@@ -75,6 +75,12 @@ ble_client:
then: then:
- lambda: |- - lambda: |-
owon_meter.on_disconnect(); owon_meter.on_disconnect();
- logger.log:
level: WARN
format: "OWON BLE meter disconnected; restarting M5Stack to reclaim heap"
- delay: 1s
- lambda: |-
esp_restart();
spi: spi:
clk_pin: GPIO18 clk_pin: GPIO18
@@ -147,6 +153,7 @@ font:
"e", "e",
"f", "f",
"g", "g",
"h",
"i", "i",
"k", "k",
"m", "m",
+2 -2
View File
@@ -222,8 +222,8 @@ class Meter {
this->label_(it, font, 218, 8, "HOLD", this->hold() ? blue : inactive); this->label_(it, font, 218, 8, "HOLD", this->hold() ? blue : inactive);
this->label_(it, font, 270, 8, "REL", this->relative() ? Color(128, 128, 0) : inactive); this->label_(it, font, 270, 8, "REL", this->relative() ? Color(128, 128, 0) : inactive);
this->label_(it, font, 8, 72, "DC", this->dc() ? cyan : inactive); this->label_(it, font, 8, 66, "DC", this->dc() ? cyan : inactive);
this->label_(it, font, 8, 96, "AC", this->ac() ? magenta : inactive); this->label_(it, font, 8, 102, "AC", this->ac() ? magenta : inactive);
if (!this->connected) { if (!this->connected) {
this->draw_digits_(it, "----", false, inactive); this->draw_digits_(it, "----", false, inactive);