mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 15:03:07 +01:00
Bugfix units and display function
This commit is contained in:
@@ -71,11 +71,13 @@ class PageOneValue : public Page{
|
||||
// Clear display by call in obp60task.cpp in main loop
|
||||
|
||||
// Show name
|
||||
display.setTextColor(textcolor);
|
||||
display.setFont(&Ubuntu_Bold32pt7b);
|
||||
display.setCursor(20, 100);
|
||||
display.print(name1); // Page name
|
||||
|
||||
// Show unit
|
||||
display.setTextColor(textcolor);
|
||||
display.setFont(&Ubuntu_Bold20pt7b);
|
||||
display.setCursor(270, 100);
|
||||
if(holdvalues == false){
|
||||
@@ -112,6 +114,7 @@ class PageOneValue : public Page{
|
||||
}
|
||||
|
||||
// Key Layout
|
||||
display.setTextColor(textcolor);
|
||||
display.setFont(&Ubuntu_Bold8pt7b);
|
||||
display.setCursor(115, 290);
|
||||
if(keylock == false){
|
||||
|
||||
Reference in New Issue
Block a user