w mx
/
finalcar
小车 走
Diff: esp8266.cpp
- Revision:
- 2:4a9ba34cd90a
- Parent:
- 0:5d8b03e224fd
diff -r d89a943c462e -r 4a9ba34cd90a esp8266.cpp --- a/esp8266.cpp Fri Jul 20 07:08:51 2018 +0000 +++ b/esp8266.cpp Sat Aug 04 04:17:02 2018 +0000 @@ -219,7 +219,7 @@ bool Esp8266::publish_value(const char *topic, const char *data) { //定义类的函数 //if (mqtt_start) { - ESP_CMD("m:publish('/values/'..node_name..'/%s',\"%s\",0,1)", topic, data); + ESP_CMD("m:publish('/values/'..node_name..'/%s',\"%s\",0,0)", topic, data); wait(0.1); //} return true;