Add ADC channels to esp variants, plug code back in to make sure other archs work

This commit is contained in:
code8buster
2023-05-16 21:46:55 +02:00
committed by Thomas Göttgens
parent 6113a1fb70
commit 3219ad33ef
18 changed files with 75 additions and 36 deletions
+2 -1
View File
@@ -9,7 +9,8 @@
#define BUTTON_PIN 0
#define BATTERY_PIN 1 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
#define ADC_MULTIPLIER 5.22
#define ADC_CHANNEL ADC1_GPIO1_CHANNEL
#define ADC_MULTIPLIER 4.9
#define USE_SX1262