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:
|
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
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user