Arduino 通过ESP8266与手机通讯调试笔记-Arduino中文社区 - Powered by Discuz! Archiver

linxiangjun 发表于 2020-4-5 21:08

查看完整代码

rugorrr 发表于 2020-5-5 15:40

很努力地看,因为语句真的不是太通顺啊

dingguoping 发表于 2020-5-6 12:16


bruceli 发表于 2016-4-19 11:52
输入LEFTOK 会收到Arduino 通过 8266传输回来的left,这个有什么用?

这个证明Arduino收到左转信号,可以用来控制小车左转。或者做其他事情也可以

Dell_mn 发表于 2020-5-9 08:59

赞,学习了

Dell_mn 发表于 2020-5-9 09:04

编译有错误代码,不知是怎么回事,需要什么库?
Esp8266Wifi.ino: In function 'int ReceiveMessage(char*)':
Esp8266Wifi:2: error: 'Serial1' was not declared in this scope
Esp8266Wifi.ino:15:7: note: in expansion of macro '_cell'
Esp8266Wifi:41: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
In file included from C:\Program Files (x86)\arduino-1.6.5\hardware\arduino\avr\cores\arduino/Arduino.h:223:0,
               from Esp8266Wifi.ino:4:
C:\Program Files (x86)\arduino-1.6.5\hardware\arduino\avr\cores\arduino/WString.h:143:16: error:   initializing argument 1 of 'unsigned char String::operator==(const char*) const' [-fpermissive]
unsigned char operator == (const char *cstr) const {return equals(cstr);}
                ^
Esp8266Wifi.ino: In function 'boolean Send(String)':
Esp8266Wifi:2: error: 'Serial1' was not declared in this scope
Esp8266Wifi.ino:91:5: note: in expansion of macro '_cell'
Esp8266Wifi.ino: In function 'void setup()':
Esp8266Wifi:1: error: 'Serial1' was not declared in this scope
Esp8266Wifi.ino:133:3: note: in expansion of macro 'WIFISerial'
Esp8266Wifi.ino: In function 'void loop()':
Esp8266Wifi:1: error: 'Serial1' was not declared in this scope
Esp8266Wifi.ino:160:7: note: in expansion of macro 'WIFISerial'
Esp8266Wifi:1: error: 'Serial1' was not declared in this scope
Esp8266Wifi.ino:164:7: note: in expansion of macro 'WIFISerial'
Esp8266Wifi:1: error: 'Serial1' was not declared in this scope
Esp8266Wifi.ino:168:7: note: in expansion of macro 'WIFISerial'
Esp8266Wifi:1: error: 'Serial1' was not declared in this scope
Esp8266Wifi.ino:172:7: note: in expansion of macro 'WIFISerial'
'Serial1' was not declared in this scope

AAA8918 发表于 2020-5-16 17:22

赞 楼主好棒啊

AUFchuan 发表于 2020-5-22 20:38

学习了,感谢楼主

led_uno 发表于 2020-5-24 00:51

是嘛,真的嘛看看学学习

skkkyyy 发表于 2020-6-2 15:09

先康康,虚心学习学习

阿格列狗蛋儿 发表于 2020-6-2 21:00

Arduino IDE上烧录用的是ESP8266吗
页: 63 64 65 66 67 68 69 70 71 72 [73] 74 75 76 77 78 79 80 81
查看完整版本: Arduino 通过ESP8266与手机通讯调试笔记