// Import required libraries
#include <ESP8266WiFi.h>
// Wifi parameters
const char* ssid = "HackerWifi6";
const char* password = "sklim01@@";
void setup() {
// put your setup code here, to run once:
// Start Serial
Serial.begin(115200);
// Connect to WiFi
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
// Print the IP address
Serial.println(WiFi.localIP());
}
void loop() {
// put your main code here, to run repeatedly:
}
Categories