Browse Source

VBATSCALE set to 45 - fixed battery voltage measurement.

klaute 1 year ago
parent
commit
c7b5c72697
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      multiwii/config.h

+ 2
- 2
multiwii/config.h View File

@@ -922,7 +922,7 @@ Also note, that maqgnetic declination changes with time, so recheck your value e
922 922
        vbat = [0;1023]*16/VBATSCALE
923 923
        must be associated with #define BUZZER ! */
924 924
     #define VBAT              // uncomment this line to activate the vbat code
925
-    #define VBATSCALE       42 // (*) (**) change this value if readed Battery voltage is different than real voltage
925
+    #define VBATSCALE       45  // (*) (**) change this value if readed Battery voltage is different than real voltage
926 926
     #define VBATNOMINAL     42 // 12,6V full battery nominal voltage - only used for lcd.telemetry
927 927
     #define VBATLEVEL_WARN1 36 // (*) (**) 10,7V
928 928
     #define VBATLEVEL_WARN2  34 // (*) (**) 9.9V
@@ -1229,4 +1229,4 @@ Also note, that maqgnetic declination changes with time, so recheck your value e
1229 1229
 /*************************************************************************************************/
1230 1230
 
1231 1231
 #endif /* CONFIG_H_ */
1232
-
1232
+

Loading…
Cancel
Save