Malý repozitář pro ukládáni programu pro práci s ESP32
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
485 B

#include <WiFi.h>
const char* ssid = "VASE_WiFi";
const char* password = "HESLO_OD_WiFi";
void setup() {
Serial.begin(115200);
delay(10);
Serial.println();
Serial.print("Pripojuji se k WiFi: ");
Serial.println();
WiFi.begin(ssid,password);
while(WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println();
Serial.println("WiFi připojeno");
Serial.print("IP adresa: ");
Serial.println(WiFi.localIP());
}
void loop(){
}