изменения для лучшей работы
This commit is contained in:
1 parent
a682dc80a9
commit
902d7b0932
4 files changed
+10
-9
No files matched your search
@@ -102,6 +102,6 @@ void TaskAnalogRead(void *pvParameters) // This is a task.
|
||||
int sensorValue = analogRead(A0);
|
||||
// print out the value you read:
|
||||
Serial.println(sensorValue);
|
||||
vTaskDelay(1); // one tick delay (15ms) in between reads for stability
|
||||
vTaskDelay(250 / portTICK_PERIOD_MS);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user