mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-06 06:55:07 +00:00
justo antes de fallar
This commit is contained in:
parent
345a6c2c21
commit
fc8d3fd9fb
10 changed files with 57 additions and 38 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue