Hi guys,
I'm trying to do a project where I use a 3 position switch to control 3 different states of some auxiliary hardware on my plane. I plan to set this channel to passthrough, but I need to implement some timing logic. Specifically, I want to be able to flip my switch to one mode (to generate one pwm output), have it send the passthrough signal for 30s, then go back to a default mode (another pwm output). I want to have this functionality for 2 of the switch positions and have the timeout default back to the 3rd switch position. Is this possible without going into the Arduplane firmware, and if so, how would I do it?
I've already tried Googling the answer, as well as looking through all the parameters that are associated with "time", "duration", or "interval" and couldn't find anything that does what I want. The closest I've gotten to this solution is the camera shutter, but that functionality only goes between 2 pwm outputs, and has a maximum timeout of 5s.
Any help would be great!
Thanks!
Replies