If you want to connect a relay of some sort (something that accepts a low/high signal, like a camera control) to a PWM output (the servo outputs), you need to do a few quick things. The actual numbers will vary depending on your FC, but here's what worked for me with a Matek F405-Wing:
SERVO6, though I'm not quite sure how the servo selection maps to the
RELAY_PINselection above. For me,
If you're amazingly lucky, you should be all set. If not, you need to play with the
50 in the
RELAY_PIN parameter and the
6 in the
SERVO6_FUNCTION until something works.
Last updated on September 11, 2021. For any questions/feedback, email me at email@example.com.