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

Add magnetic rotation sensor AS5600 for rudder, wind, keel and trimm angle

This commit is contained in:
norbert-walter
2022-03-18 18:58:02 +01:00
parent 5e61754b08
commit eefa76e9a6

View File

@@ -154,7 +154,7 @@ public:
display.setFont(&Ubuntu_Bold12pt7b);
display.setCursor(175, 110);
display.print(unit1); // Unit
/*
// Angle limits to +/-45°
if(value1 < (-PI / 4)){
value1 = -PI / 4;
@@ -165,7 +165,7 @@ public:
// Calculate keel position
value1 = (value1 * 2) + PI;
*/
// Draw keel position pointer
float startwidth = 8; // Start width of pointer