If you meant a different type of ESP script, just tell me which one exactly — I’ll write the correct version for you.
void setup() { Serial.begin(115200); pinMode(LED_BUILTIN, OUTPUT); digitalWrite(LED_BUILTIN, HIGH); скрипт на esp
#include <ESP8266WiFi.h> // or <WiFi.h> for ESP32 const char* ssid = "your_SSID"; const char* password = "your_PASSWORD"; If you meant a different type of ESP
Serial.println("\nConnected! IP: " + WiFi.localIP().toString()); } // or <
It looks like you're asking for a script written for — but ESP can mean several things in different contexts.