mirror of
https://github.com/avem-labs/Avem.git
synced 2023-09-01 15:18:49 +08:00
ESP8266谜之无应答。。是不是换行和回车顺序问题
This commit is contained in:
parent
5d11d1e94b
commit
1c752b988c
@ -46,6 +46,6 @@ void wifi_sendData(char * cmd) {
|
||||
|
||||
void wifi_sendCmd(char * cmd) {
|
||||
wifi_sendData(cmd);
|
||||
wifi_sendSingleByte(0x0D);
|
||||
wifi_sendSingleByte(0x0A);
|
||||
wifi_sendSingleByte(0x0D);
|
||||
}
|
||||
|
@ -114,7 +114,6 @@ int main() {
|
||||
|
||||
wifi_init();
|
||||
|
||||
wifi_sendCmd("ATE0");
|
||||
wifi_sendCmd("AT+CWMODE=2");
|
||||
|
||||
SixAxis sourceData;
|
||||
|
Loading…
x
Reference in New Issue
Block a user