mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-30 10:32:17 +02:00
justo antes de fallar
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user