mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-10-05 20:47:50 -04:00
.
This commit is contained in:
parent
593b184fbd
commit
97c4cecaf9
@ -26,7 +26,7 @@ void TaskStatusLEDCode (void* parameters) {
|
||||
digitalWrite(SYS_LED_PIN, LOW);
|
||||
vTaskDelay(250 / portTICK_RATE_MS);
|
||||
digitalWrite(SYS_LED_PIN, HIGH);
|
||||
vTaskDelay(750 / portTICK_RATE_MS);
|
||||
vTaskDelay(pdMS_TO_TICKS(1000));
|
||||
}
|
||||
}
|
||||
|
||||
@ -44,7 +44,7 @@ void TaskSensorValuesCode (void* parameters) {
|
||||
Serial.print(bme.readPressure() / 100.0F);
|
||||
Serial.println(" kPa");
|
||||
Serial.println("");
|
||||
vTaskDelay(5000 / portTICK_RATE_MS);
|
||||
vTaskDelay(pdMS_TO_TICKS(5000));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user