Fixed analog read of voltage

This commit is contained in:
Gunnar Skjold
2022-04-17 10:07:25 +02:00
parent 1ab529785a
commit d724a90085
2 changed files with 16 additions and 14 deletions

View File

@@ -51,6 +51,7 @@ public:
HwTools() {};
private:
uint16_t analogRange = 1024;
AdcConfig voltAdc, tempAdc;
#if defined(ESP32)
esp_adc_cal_characteristics_t* voltAdcChar, tempAdcChar;