本文档为个人博客文档系统的备份版本、作者:小游、作者博客:点击访问
#include <ESP8266WiFi.h>
// 设置热点的名字
#define AP_SSID "XIAOYOU66"
// 设置热点的密码
#define AP_PSW "1806040103"
// 设置wifi模块的最大连接数
#define MAX_CONNECT 5
// 设置wifi服务的IP地址
const int SERVER_PORT = 80;
// 设置wifi的ip地址(wifi的ip地址好像不能和网关地址在同一个网段)
IPAddress local_IP(192, 168, 1, 1);
// 设置网关
IPAddress gateway(192, 168, 0, 1);
// 设置子网掩码
IPAddress subnet(255, 255, 255</