1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

Save version

This commit is contained in:
Norbert Walter
2021-12-16 18:10:00 +01:00
parent c0a6809299
commit 9af2fbcee8

View File

@@ -15,7 +15,7 @@ void page_2(){
display.print("V");
display.setFont(&DSEG7Classic_BoldItalic60pt7b);
display.setCursor(20, 240);
float actVoltage = (float(analogRead(OBP_ANALOG0)) * 3.3 / 4096) * 20; // Vin = 1/20
float actVoltage = (float(analogRead(OBP_ANALOG0)) * 3.3 / 4096 + 0.17) * 20; // Vin = 1/20
display.print(actVoltage,1);
// Key Layout