Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
I mentioned this on Discord, but am posting it again here for completeness: It's possible to do this with more complicated logic, such as more logical switches, and a global variable which could make tracking the A/B state a little more reliable, but I think this should suffice. Using a sticky logical switch will "remember" the state of the toggle switch - where V1 sets it, and V2 resets it (similar to your lights). When you press the switch the first time, it will turn the LS on, and when you press it the second time, it will turn the LS off. You can then have two special functions, one that triggers when L01 is active (L01), and one when LO1 is not active (!L01). By setting the repeat to 1x, it only plays the sound once (rather than continuously/repeatedly). Better still, set it to !1x (it's the very first option), and it also won't play when you turn the radio on or switch models if the switch is held down. I have a feeling this may also be relevant for some indoor flyer models that have lights - I'm sure I've seen mention of one that behaves the same as this... i.e. only changes states on the highs. |
Beta Was this translation helpful? Give feedback.
-
Greetings!
I'd like to implement detailed Audio System where one Switch Position activates the same Setting but toggles between two Audio Files to reflect the State the System is in.
To explain it in more Detail:
Programming a Switch to work like that is not the Problem - I already got that covered.
The Problem is for the Audio announcing the State to toggle between the two States of something changing:
ON
and the Remote to say so with a "LightsON.wav
"OFF
and the Remote to say so with a "LightsOFF.wav
"Since I don't know how to have the Sounds toggle between each state, I'm currently only having the Remote say "
Lights.wav
" 🥲I do realize that with the Controller not giving any feedback of the State something is there is a possibility of the two coming out of sync but in all honesty I cannot see that ever really happening and quite frankly it ever happening would also not be the end of the world.
Can this be done and how? ( please explain including Screenshots )
Beta Was this translation helpful? Give feedback.
All reactions