Update example to use webota_delay()

This commit is contained in:
Scott Baker 2019-03-14 15:27:24 -07:00
parent 3ab61ce2bd
commit ef15214132

View File

@ -20,12 +20,12 @@ void setup() {
// the loop function runs over and over again forever
void loop() {
int md = 200;
int md = 1000;
digitalWrite(LED_PIN, HIGH);
delay(md);
webota_delay(md);
digitalWrite(LED_PIN, LOW);
delay(md);
webota_delay(md);
OTAServer.handleClient();
}