This projects enables you to use multiple flightmodes on Pixhawk with just a simple HIGH/LOW switch on AUX/GEAR.
RC Receiver | Arduino | PIXHAWK/APM |
---|---|---|
PPM Channel | INPUT_PIN | |
OUTPUT_PIN | RC_IN |
Just pull the AUX/Channel 6 switch the amount of times to switch to the corresponding flight modes. If you pull it up 3 times, you will switch to mode 3, ...