1 parent
af5e4e8ec9
commit
93b1405b3e
2 files changed
+4
-2
No files matched your search
+3
-1
@@ -40,7 +40,9 @@ void MeasureADC(){
|
||||
timeadc = millis();
|
||||
static int persistedadc;
|
||||
int val = analogRead(ADC_PIN);
|
||||
|
||||
#ifdef ESP8266
|
||||
yield();
|
||||
#endif
|
||||
if (isnan(val)) {
|
||||
trc(F("Failed to read from ADC !"));
|
||||
}else{
|
||||
|
||||
Reference in new issue
Block a user