I’m trying to figure out how to control a camera switcher (Bick’s Multiview Duo) via a switch on my remote so that I can have a downward facing view during flight. The camera switcher looks for a PWM signal for 5 seconds after being powered on; if it doesn’t see a PWM signal within that time, it expects a digital signal. Since the F405 board takes longer than 5 seconds to boot up and output PWM signals, I have to figure out how to output a digital signal to it (if you can think of a way around this that doesn’t include a mechanical power switch, let me know).
The F405 is running V3.9.11 with BRD_PWM_COUNT = 4 and RELAY_PIN2 = 54 (corresponds to PC8 TIM8_CH3 TIM8 PWM(5) GPIO(54) pin from the “hwdef.dat” file). I believe I’m on the right track, but I can’t figure out how to control that pin from my remote. It appears that Arducopter has a RCx_OPTION where a radio input can be mapped to the “Relay2 on/off” option, but arduplane has no such feature. Any ideas on how I can get around this?