Making STECS/STEM Flap Switch Both 3 Position and Momentary/Temporary
Posted: Wed Mar 06, 2024 21:01
I'm trying to map the flap lever on the STEM module of the STECS to flaps. Some aircraft have more than those three positions, though, so I'd like to make the inputs momentary so it's not overriding other inputs. The problem is that the switch is only two button inputs physically. To add the middle position, it's necessary to use Boolean logic as described here: https://www.youtube.com/watch?v=kp3_KrRq4Tk
It's also possible to make inputs momentary instead of permanent, as described here: viewtopic.php?f=27&t=6164. There are potentially some other button options like toggle switches, but they all seem to have the same problem of interfering with the Boolean logic to create the third position. I've also tried sending an input to another physical button and making that physical button a generator, but that gives some different inconsistent results.
I suspect that there's some way to work around that with careful Boolean logic, but that's beyond my meager programming skills. Has anyone done anything like this? Thanks!
It's also possible to make inputs momentary instead of permanent, as described here: viewtopic.php?f=27&t=6164. There are potentially some other button options like toggle switches, but they all seem to have the same problem of interfering with the Boolean logic to create the third position. I've also tried sending an input to another physical button and making that physical button a generator, but that gives some different inconsistent results.
I suspect that there's some way to work around that with careful Boolean logic, but that's beyond my meager programming skills. Has anyone done anything like this? Thanks!