mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 23:13:07 +01:00
Add RollPitch page and code cleaning
This commit is contained in:
@@ -212,15 +212,15 @@ public:
|
||||
|
||||
if(rotsensor == "AS5600" && rotfunction == "Keel" && (valid1 == true || holdvalues == true || simulation == true)){
|
||||
// Print Unit of keel position
|
||||
display.setFont(&Ubuntu_Bold12pt7b);
|
||||
display.setCursor(175, 110);
|
||||
display.print(unit1); // Unit
|
||||
display.setFont(&Ubuntu_Bold12pt7b);
|
||||
display.setCursor(175, 110);
|
||||
display.print(unit1); // Unit
|
||||
}
|
||||
else{
|
||||
// Print Unit of keel position
|
||||
display.setFont(&Ubuntu_Bold8pt7b);
|
||||
display.setCursor(145, 110);
|
||||
display.print("No sensor data"); // Info missing sensor
|
||||
display.setFont(&Ubuntu_Bold8pt7b);
|
||||
display.setCursor(145, 110);
|
||||
display.print("No sensor data"); // Info missing sensor
|
||||
}
|
||||
|
||||
//*******************************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user