Untitled
unknown
plain_text
10 months ago
500 B
7
Indexable
#include <WiFi.h>
const char* ssid = "SPS-PROSEK HOST";
const char* password = "";
void setup() {
Serial.begin(115200);
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.printf("\nPico connected to: %s with IP = %s\n", WiFi.SSID(), WiFi.localIP());
}
void loop() {
delay(2000);
Serial.printf("Pico connected to: %s with IP = %s\n", WiFi.SSID(), WiFi.localIP());
}
Editor is loading...
Leave a Comment