Fix volt pin
This commit is contained in:
@ -272,7 +272,7 @@ void printTimestamp(Print* _logOutput, int _logLevel) {
|
|||||||
|
|
||||||
BatteryVoltage::BatteryVoltage() {
|
BatteryVoltage::BatteryVoltage() {
|
||||||
#if defined(ESP8266)
|
#if defined(ESP8266)
|
||||||
pinMode(PIN_A0, INPUT);
|
pinMode(PIN_VOLT, INPUT);
|
||||||
#else
|
#else
|
||||||
pinMode(PIN_VOLT, INPUT_PULLDOWN);
|
pinMode(PIN_VOLT, INPUT_PULLDOWN);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user