Save version

This commit is contained in:
Norbert Walter 2021-12-16 18:10:00 +01:00
parent c0a6809299
commit 9af2fbcee8
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ void page_2(){
display.print("V"); display.print("V");
display.setFont(&DSEG7Classic_BoldItalic60pt7b); display.setFont(&DSEG7Classic_BoldItalic60pt7b);
display.setCursor(20, 240); 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); display.print(actVoltage,1);
// Key Layout // Key Layout