MOD: some stuff

This commit is contained in:
but0n 2016-09-12 18:17:37 +08:00
parent b38f201e43
commit 9f44ccf077
3 changed files with 2 additions and 12 deletions

View File

@ -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
* ... ...

View File

@ -40,7 +40,6 @@ void wifi_sendData(char * cmd) {
while(*(cmd + pointer)) {
wifi_sendSingleByte(*(cmd + pointer));
pointer++;
delay(50);
}
}

View File

@ -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