fixed ADC pin issue

This commit is contained in:
Antonio Vanegas 2021-01-22 11:12:36 +01:00
parent e0389ab6bd
commit 27e72fcb2d

View File

@ -16,7 +16,7 @@
#define HAS_BUTTON (33) // on board button A #define HAS_BUTTON (33) // on board button A
// power management settings // power management settings
#define BAT_MEASURE_ADC ADC1_GPIO34_CHANNEL // battery probe GPIO pin -> ADC1_CHANNEL_6 #define BAT_MEASURE_ADC ADC1_GPIO35_CHANNEL // battery probe GPIO pin -> ADC1_CHANNEL_7
#define BAT_VOLTAGE_DIVIDER 2.605f // voltage divider #define BAT_VOLTAGE_DIVIDER 2.605f // voltage divider
// Display Settings // Display Settings