Moved AC/DC out of the way of the minus sign, added an h glyph for hFE display.
This commit is contained in:
@@ -75,6 +75,12 @@ ble_client:
|
||||
then:
|
||||
- lambda: |-
|
||||
owon_meter.on_disconnect();
|
||||
- logger.log:
|
||||
level: WARN
|
||||
format: "OWON BLE meter disconnected; restarting M5Stack to reclaim heap"
|
||||
- delay: 1s
|
||||
- lambda: |-
|
||||
esp_restart();
|
||||
|
||||
spi:
|
||||
clk_pin: GPIO18
|
||||
@@ -147,6 +153,7 @@ font:
|
||||
"e",
|
||||
"f",
|
||||
"g",
|
||||
"h",
|
||||
"i",
|
||||
"k",
|
||||
"m",
|
||||
|
||||
+2
-2
@@ -222,8 +222,8 @@ class Meter {
|
||||
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, 8, 72, "DC", this->dc() ? cyan : inactive);
|
||||
this->label_(it, font, 8, 96, "AC", this->ac() ? magenta : inactive);
|
||||
this->label_(it, font, 8, 66, "DC", this->dc() ? cyan : inactive);
|
||||
this->label_(it, font, 8, 102, "AC", this->ac() ? magenta : inactive);
|
||||
|
||||
if (!this->connected) {
|
||||
this->draw_digits_(it, "----", false, inactive);
|
||||
|
||||
Reference in New Issue
Block a user