1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 23:13:07 +01:00

Finishing for values page

This commit is contained in:
norbert-walter
2022-03-06 16:22:18 +01:00
parent 0d18b69604
commit 82a1333aec
8 changed files with 1069 additions and 7030 deletions

View File

@@ -143,7 +143,7 @@ class PageThreeValues : public Page
// ############### Horizontal Line ################
// Horizontal line 3 pix
display.fillRect(0, 105, 400, 3, GxEPD_BLACK);
display.fillRect(0, 105, 400, 3, pixelcolor);
// ############### Value 2 ################
@@ -193,7 +193,7 @@ class PageThreeValues : public Page
// ############### Horizontal Line ################
// Horizontal line 3 pix
display.fillRect(0, 195, 400, 3, GxEPD_BLACK);
display.fillRect(0, 195, 400, 3, pixelcolor);
// ############### Value 3 ################
@@ -235,7 +235,7 @@ class PageThreeValues : public Page
else{
display.print(svalue3old); // Old value as formated string
}
if(valid2 == true){
if(valid3 == true){
svalue3old = svalue3; // Save the old value
unit3old = unit3; // Save the old unit
}