You've already forked Adafruit_MQTT_Library
mirror of
https://github.com/adafruit/Adafruit_MQTT_Library.git
synced 2025-07-27 15:01:49 +03:00
Yun example: change one Serial -> Console
This commit is contained in:
@ -95,7 +95,7 @@ void loop() {
|
|||||||
|
|
||||||
// ping the server to keep the mqtt connection alive
|
// ping the server to keep the mqtt connection alive
|
||||||
if(! mqtt.ping()) {
|
if(! mqtt.ping()) {
|
||||||
Serial.println(F("MQTT Ping failed."));
|
Console.println(F("MQTT Ping failed."));
|
||||||
}
|
}
|
||||||
|
|
||||||
delay(1000);
|
delay(1000);
|
||||||
|
Reference in New Issue
Block a user