mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-08 04:28:47 +00:00
update meshtab voltage divider
This commit is contained in:
parent
86792f7940
commit
13f0a6de9e
@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
// Analog pins
|
// Analog pins
|
||||||
#define BATTERY_PIN 4 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
|
#define BATTERY_PIN 4 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
|
||||||
// ratio of voltage divider = 2.0
|
// ratio of voltage divider (100k, 220k)
|
||||||
#define ADC_MULTIPLIER 2.11 // 2.0 + 10% for correction of display undervoltage.
|
#define ADC_MULTIPLIER 1.6 // 1.45 + 10% for correction of display undervoltage.
|
||||||
#define ADC_CHANNEL ADC1_GPIO4_CHANNEL
|
#define ADC_CHANNEL ADC1_GPIO4_CHANNEL
|
||||||
|
|
||||||
// LED
|
// LED
|
||||||
|
Loading…
Reference in New Issue
Block a user