Schema + PCB
This commit is contained in:
@@ -116,6 +116,7 @@ uint32_t getBatteryVoltageMv() {
|
||||
uint32_t voltage = analogReadMilliVolts(BAT_VOLTAGE_PIN);
|
||||
Serial.print("Battery Voltage: ");
|
||||
Serial.println(voltage*2);
|
||||
Serial.println(" mV");
|
||||
return voltage*2;//*2 because of the voltage divider.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user