Update the Heltec board battery level read accuracy. (#3955)

* Update variant.h

Update the Heltec board battery voltage read parameter.

* Update variant.h

Update the Heltec board battery voltage read parameter.

* Update variant.h

Update the Heltec board battery voltage read parameter.

* Update variant.h

Update the Heltec board battery voltage read parameter.
This commit is contained in:
Aaron.Lee
2024-05-31 23:55:05 +08:00
committed by GitHub
parent c88278724c
commit b9edc7563b
4 changed files with 4 additions and 4 deletions

View File

@@ -11,7 +11,7 @@
#define BATTERY_PIN 1 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
#define ADC_CHANNEL ADC1_GPIO1_CHANNEL
#define ADC_ATTENUATION ADC_ATTEN_DB_2_5 // lower dB for high resistance voltage divider
#define ADC_MULTIPLIER 4.9
#define ADC_MULTIPLIER 4.9*1.045
#define USE_SX1262