Migrate esp32 families to pioarduino platform

This commit is contained in:
Austin Lane
2025-12-12 12:36:52 -05:00
committed by Austin
parent 3a723ceae8
commit aa506ce4ab
124 changed files with 670 additions and 374 deletions

View File

@@ -24,7 +24,7 @@
#define VEXT_ON_VALUE LOW
#define ADC_CTRL 19
#define BATTERY_PIN 20
#define ADC_CHANNEL ADC2_GPIO20_CHANNEL
#define ADC_CHANNEL ADC_CHANNEL_9
#define ADC_MULTIPLIER 2 // Voltage divider is roughly 1:1
#define BAT_MEASURE_ADC_UNIT 2 // Use ADC2
#define ADC_ATTENUATION ADC_ATTEN_DB_12 // Voltage divider output is quite high