Add ADC channels to esp variants, plug code back in to make sure other archs work
This commit is contained in:
committed by
Thomas Göttgens
parent
6113a1fb70
commit
3219ad33ef
@@ -4,9 +4,8 @@
|
||||
#define GPS_TX_PIN 13
|
||||
|
||||
#define BATTERY_PIN 35
|
||||
#define ADC_CHANNEL ADC_GPIO35_CHANNEL
|
||||
#define ADC_CHANNEL ADC1_GPIO35_CHANNEL
|
||||
#define BATTERY_SENSE_SAMPLES 30
|
||||
#define DEFAULT_VREF 1100
|
||||
|
||||
// ratio of voltage divider = 2.0 (R42=100k, R43=100k)
|
||||
#define ADC_MULTIPLIER 2
|
||||
|
||||
Reference in New Issue
Block a user