You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ((btnPin[b] < 0) || (digitalPinToAnalogChannel(btnPin[b]) < 0)) return; // pin must support analog ADC - newer esp32 frameworks throw lots of warnings otherwise
159
160
rawReading = analogRead(btnPin[b]); // collect at full 12bit resolution
160
161
#endif
161
162
yield(); // keep WiFi task running - analog read may take several millis on ESP8266
0 commit comments