Well, we have APM2 Purple Board on a Turnigy quadcopter frame. The problem is when I try to pull an analog output LOW, instead of LOW it gives SQUARE wave; but I don't have a problem with pulling the pin high. This problem is occurred with all of the analog pins. I didn't see any other problem with the software or hardware. Everything works like charm; autonomous flight is stable and smooth, and remote controlled flight is perfect.
My code in ArduCopter Userhook is here:
When I ARM the copter, it gives solid high with no problem; but in DISARMED mode it gives square wave instead of LOW.
Here is the DISARMED photo:
And here is the ARMED photo:
We are using latest software (ArduCopter 2.7.1 on the board and AC2_GCS on computer). Our setup includes an XBEE for communication with computer, a Turnigy receiver with a Turnigy transmitter for remote control.
Replies are closed for this discussion.
My guess is that somewhere else in the code it is pulling those same pins high so you've got a little fight going on. I think there is a parameter called LED_MODE...maybe set that to zero to disable the LEDs...not sure but will likely work.
I like your scope!
Yep It worked! Thanks.
Yeah I love this scope too :)