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
1 changed files with 2 additions and 2 deletions

View File

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