You've already forked Adafruit_MQTT_Library
mirror of
https://github.com/adafruit/Adafruit_MQTT_Library.git
synced 2025-06-13 10:01:31 +03:00
add delay to secure example publish loop
This commit is contained in:
@ -111,6 +111,9 @@ void loop() {
|
|||||||
Serial.println(F("OK!"));
|
Serial.println(F("OK!"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// wait a couple seconds to avoid rate limit
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user