对 要加电调还要编一个 PWM 的函数当然使arduino 本身的 analogwrite 也可以
arduino 本身的 analogwrite 是不行滴。。那个有点不一样。。 LKYFLY0578 发表于 2013-4-29 11:26 static/image/common/back.gif
myservo.attach(9,1000,2000); 这个表示什么意思,为什么要有个1000,2000
dela ...
myservo.attach(9,1000,2000); 电调信号线连到IO口9,设定脉宽1000—2000us(控制无刷电机转速)
delay(2500);
myservo.writeMicroseconds(1000); 让无刷电机速度为零,电调检测信号
delay(2000);
延时是为了电调检测信号吧
别忘了单片机与电调共地~
页:
1
[2]