Skip to main content

#5 การ Fix IP ให้ NodeMCU

การ Fix IP ให้ NodeMCU

ทดสอบ Fix IP ดังนี้
IP Address: 192.168.1.50
Subnet mask: 255.255.255.0
Gateway: 192.168.1.1

===================================================

#include <ESP8266WiFi.h>
const char* ssid     = "ชื่อwifi";           // SSID wifi name
const char* password = "รหัสwifi";    // Wifi password
void setup() 
{
    Serial.begin(115200);   // serial baudrate 115200
    delay(10);

Subscribe to Fix IP