mirror of
https://github.com/avem-labs/Avem.git
synced 2023-09-01 15:18:49 +08:00
MOD: some stuff
This commit is contained in:
parent
b38f201e43
commit
9f44ccf077
@ -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
|
||||
* ... ...
|
||||
|
@ -40,7 +40,6 @@ void wifi_sendData(char * cmd) {
|
||||
while(*(cmd + pointer)) {
|
||||
wifi_sendSingleByte(*(cmd + pointer));
|
||||
pointer++;
|
||||
delay(50);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user