Skip to content

Commit 76539f2

Browse files
committed
Updated comment.
1 parent c3fd601 commit 76539f2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

examples/Connections/ArduinoYun/ArduinoYun.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void loop() {
2727
//Some examples of other functions you can use to send data.
2828
//Cayenne.celsiusWrite(1, 22.0);
2929
//Cayenne.luxWrite(2, 700);
30-
//Cayenne.relativeHumidityWrite(3, 50);
30+
//Cayenne.virtualWrite(3, 50, TYPE_PROXIMITY, UNIT_CENTIMETER);
3131
}
3232
}
3333

src/CayenneMQTTYunClient.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ class CayenneMQTTYunClient : public CayenneArduinoMQTTClient
3535
void begin(const char* username, const char* password, const char* clientID)
3636
{
3737
Bridge.begin();
38+
CAYENNE_LOG("bridge begin");
39+
Process p;
40+
p.runShellCommand("wifi up");
41+
while (p.running());
42+
CAYENNE_LOG("wifi up");
3843
CayenneArduinoMQTTClient::begin(_bridgeClient, username, password, clientID);
3944
}
4045

0 commit comments

Comments
 (0)