Client / Server (STA mode /
Web Server)
• Node MCU ทา งานใน STA Mode
• ปรับแต่งชุดคำสั่งในเรือง Direct WiFi โดยเพิ่มส่วนของการ
เชื่อมตอ่ไปยัง Access Point (ต้องมีการ Authentication)
• File –> Examples –> ESP8266WiFi –> WiFiClient (แก้ไข)
• มีการสร้าง Web Server (port 80) ในตัว Node MCU
IP address
เข้าปิด-เปิดไฟแบบ Client / Server เข้าไปที่ IP 192.168.88.248/led.php