mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-09-11 19:55:14 +02:00
Adjust Page OneValue to 4 digit option
This commit is contained in:
@@ -76,10 +76,10 @@ private:
|
|||||||
nameYoff = -34;
|
nameYoff = -34;
|
||||||
nameFnt = &Ubuntu_Bold20pt8b;
|
nameFnt = &Ubuntu_Bold20pt8b;
|
||||||
unitXoff = -295;
|
unitXoff = -295;
|
||||||
unitYoff = -119;
|
unitYoff = 21;
|
||||||
unitFnt = &Ubuntu_Bold12pt8b;
|
unitFnt = &Ubuntu_Bold12pt8b;
|
||||||
valueFnt1 = &Ubuntu_Bold12pt8b;
|
valueFnt1 = &Ubuntu_Bold12pt8b;
|
||||||
value1Xoff = 153;
|
value1Xoff = 111;
|
||||||
value1Yoff = -119;
|
value1Yoff = -119;
|
||||||
valueFnt2 = &Ubuntu_Bold20pt8b;
|
valueFnt2 = &Ubuntu_Bold20pt8b;
|
||||||
valueFnt3 = &DSEG7Classic_BoldItalic42pt7b;
|
valueFnt3 = &DSEG7Classic_BoldItalic42pt7b;
|
||||||
@@ -100,7 +100,7 @@ private:
|
|||||||
|
|
||||||
// Show unit
|
// Show unit
|
||||||
getdisplay().setFont(unitFnt);
|
getdisplay().setFont(unitFnt);
|
||||||
getdisplay().setCursor(305 + unitXoff, 240 + unitYoff);
|
getdisplay().setCursor(305 + unitXoff, 100 + unitYoff);
|
||||||
|
|
||||||
if (holdValues) {
|
if (holdValues) {
|
||||||
getdisplay().print(unit1Old); // name
|
getdisplay().print(unit1Old); // name
|
||||||
|
|||||||
Reference in New Issue
Block a user