WenchaoLin / multiwii

Automatically exported from code.google.com/p/multiwii
0 stars 0 forks source link

Dualcopter servo inoperative in version 2.3 for multiwii mega board #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Uncomment dualcopter in version 2.3 and upload to mega board
2. connect motors to pins 3 and 5 and servos to pins 2 and 6
3. servo connected to pin 2 does not respond

What is the expected output? What do you see instead?
Servo on pin 2 should respond to roll or pitch. However, servo does not respond

What version of the product are you using? On what operating system?
version 2.3 on PC with Windows 8.1

Please provide any additional information below.

Motors respond as expect. Servo connected to pin 6 responds to roll or pitch 
change. Servo connected to pin 2 does not respond.

Original issue reported on code.google.com by claytonm...@aol.com on 2 Mar 2015 at 5:40

GoogleCodeExporter commented 8 years ago
I discovered that Multiwii version 2.3 and newer have had a default pin 
reassignment. Servos on older versions were defaulted to SW_PWM but the new 
default is HW_PWM. I believe pin 2 under SW_PWM would be assigned to pin 12 
under HW_PWM. Some mega boards don't have a pin 12 so the option left is to 
assign servos to SW_PWM, which should make pin 2 operative.

Original comment by claytonm...@aol.com on 4 Jun 2015 at 12:02