From 9f44ccf0770d79d5aa9b7dbef782e0a56b628e3b Mon Sep 17 00:00:00 2001 From: but0n Date: Mon, 12 Sep 2016 18:17:37 +0800 Subject: [PATCH] MOD: some stuff --- README.md | 4 ++-- .../Libraries/STM32F10x_StdPeriph_Driver/src/wifi.c | 1 - src/main.c | 9 --------- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 8a0ad61..66da5d5 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,10 @@ MPU6050 | BLDC | Wi-Fi | LED * **PID** Control * Schematic * PCB Layout -* 使用PWM外接商品电调驱动无刷电机-[Video on YouTube](https://youtu.be/iHYVgTmxoSw) +* Brushless DC motor-[Video on YouTube](https://youtu.be/iHYVgTmxoSw) * **Wi-Fi**(`ESP8266`) + * TCP/IP Socket connect with host * PID debug - * Design **frame** * **GPS** * 3D print or CNC cut * ... ... diff --git a/libs/STM32_USB-FS-Device_Lib_V4.0.0/Libraries/STM32F10x_StdPeriph_Driver/src/wifi.c b/libs/STM32_USB-FS-Device_Lib_V4.0.0/Libraries/STM32F10x_StdPeriph_Driver/src/wifi.c index 9fd2c33..ca71ad7 100644 --- a/libs/STM32_USB-FS-Device_Lib_V4.0.0/Libraries/STM32F10x_StdPeriph_Driver/src/wifi.c +++ b/libs/STM32_USB-FS-Device_Lib_V4.0.0/Libraries/STM32F10x_StdPeriph_Driver/src/wifi.c @@ -40,7 +40,6 @@ void wifi_sendData(char * cmd) { while(*(cmd + pointer)) { wifi_sendSingleByte(*(cmd + pointer)); pointer++; - delay(50); } } diff --git a/src/main.c b/src/main.c index 6081889..14835d1 100644 --- a/src/main.c +++ b/src/main.c @@ -100,16 +100,7 @@ void Comput(SixAxis cache) { int main() { - wifi_init(); - - wifi_sendCmd("AT"); - delay(1000); - wifi_sendCmd("AT+CWMODE=2"); - delay(1000); - wifi_sendCmd("AT+RST"); - initLED(); - Key_init(); motor_PWM_Init(28800,5); //Brushless motor auto init