Removed arduino's delay()

This commit is contained in:
2021-08-09 16:15:21 +02:00
parent a84e0538ff
commit 8e447f5cd5
6 changed files with 4 additions and 10 deletions

View File

@ -26,7 +26,7 @@
Baudrate detection example usage (detection on Serial1):
void setup() {
Serial.begin(115200);
delay(100);
vTaskDelay(100 / portTICK_PERIOD_MS);
Serial.println();
Serial1.begin(0, SERIAL_8N1, -1, -1, true, 11000UL); // Passing 0 for baudrate to detect it, the last parameter is a timeout in ms