esp8266_led_On_off
D4에 해당되는 LED를 on, off힙니다. #include #define LED4 2 const char* ssid = "IOT999"; const char* password = "kbs48752"; IPAddress local_IP(192, 168, 0, 17); IPAddress gateway(192, 168, 0, 1); IPAddress subnet(255, 255, 255, 0); WiFiServer server(80); void setup() { Serial.begin(115200); pinMode(LED4, OUTPUT); WiFi.config(local_IP, gateway, subnet); WiFi.begin(ssid, password); while (WiFi.status() != W..