ESP8266谜之无应答。。是不是换行和回车顺序问题

This commit is contained in:
but0n 2016-08-23 17:28:26 +08:00
parent 5d11d1e94b
commit 1c752b988c
2 changed files with 1 additions and 2 deletions

View File

@ -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);
}

View File

@ -114,7 +114,6 @@ int main() {
wifi_init();
wifi_sendCmd("ATE0");
wifi_sendCmd("AT+CWMODE=2");
SixAxis sourceData;