![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Kuo Yiching
Fork of iot_example by
Diff: main.cpp
- Revision:
- 4:46e5e96a6233
- Parent:
- 3:06080fa094a0
- Child:
- 5:9a0acd11c445
--- a/main.cpp Mon Nov 13 20:25:48 2017 +0800 +++ b/main.cpp Mon Nov 13 20:34:24 2017 +0800 @@ -16,8 +16,7 @@ int main(void) { // 选定与 esp8266 相连接的串口,WiFi 名称和密码 // 参数分别为 TX pin / RX pin / SSID / Password - // Esp8266 client(PA_2, PA_3, "TSINGHUA.iCenter", "TS.icenter"); - Esp8266 client(PA_2, PA_3, "cqtest_mi", "wifipassword1611"); + Esp8266 client(PA_2, PA_3, "TSINGHUA.iCenter", "TS.icenter"); //声明所有的传感器,每行一个,每个由名字、单位两部分组成,最后一行必须为空指针作为结尾 //服务器收到声明后,将在网页上显示这些传感器