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

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

楼主: 聖剛

Arduino 通过ESP8266与手机通讯调试笔记

  [复制链接]
发表于 2020-4-5 21:08 来自手机 | 显示全部楼层
查看完整代码
发表于 2020-5-5 15:40 | 显示全部楼层
很努力地看,因为语句真的不是太通顺啊
发表于 2020-5-6 12:16 | 显示全部楼层

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

这个证明Arduino收到左转信号,可以用来控制小车左转。或者做其他事情也可以
发表于 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:perator==(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

发表于 2020-5-16 17:22 | 显示全部楼层
赞 楼主好棒啊
发表于 2020-5-22 20:38 | 显示全部楼层
学习了,感谢楼主
发表于 2020-5-24 00:51 | 显示全部楼层
是嘛,真的嘛看看学学习
发表于 2020-6-2 15:09 | 显示全部楼层
先康康,虚心学习学习
发表于 2020-6-2 21:00 | 显示全部楼层
Arduino IDE上烧录用的是ESP8266吗
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-29 02:46 , Processed in 0.102634 second(s), 13 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表