I've been trying to arm my pixhawk using an arduino uno, I took the example code from
to send a heart beat packet.
I also have been reading this post - http://diydrones.com/forum/topics/overriding-remote-control-from-a-custom-gs-with-mavlink
From what I gathered I need to use the COMMAND_LONG message to arm my pixhawk.
so I wrote this code..The idea behind the code is than when I press the capacitive sensor it will arm then when i don't it will dis arm..... but when I did it it did not work.
please see attached for the .ino code
Would it be possible if anyone could help me on this please?? :))))))