I'm trying to switch on/off some leds using switch relay.
I need to turn a relay on or off based on the PWM value.
5v are provided to Aux ports using an external BEC which also performs the function of secondary power supply.
I've read this wiki page http://ardupilot.org/copter/docs/common-relay.html but after many attempts I have never succeded.
Anybody knows how to solve this issue?