justo antes de fallar

This commit is contained in:
richonguzman 2024-05-23 20:13:05 -04:00
parent 345a6c2c21
commit fc8d3fd9fb
10 changed files with 57 additions and 38 deletions

View file

@ -64,7 +64,7 @@ namespace BATTERY_Utils {
int sample;
int sampleSum = 0;
for (int i = 0; i < 100; i++) {
sample = analogRead(Config.externalVoltagePin);
sample = analogRead(Config.battery.externalVoltagePin);
sampleSum += sample;
delayMicroseconds(50);
}