We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1425649 commit a0335d1Copy full SHA for a0335d1
warduino/guide/examples/wifi.md
@@ -18,8 +18,8 @@ function until(attempt: () => void,
18
export function main(): void {
19
// Connect to Wi-Fi
20
until(
21
- () => { WiFi.connect(config.SSID, config.PASSWORD); },
22
- WiFi.connected);
+ WiFi.connected,
+ () => { WiFi.connect(config.SSID, config.PASSWORD); });
23
let message = "Connected to wifi network with ip: ";
24
print(message.concat(WiFi.localip()));
25
0 commit comments