So i use a switch input for map switch and wanted to set it up like on a modern car deactivating esp. I set a 10sec delay for false and true.
As the button is only activated while pushing after 10sec it switches map correctly. But the thing is, once i let off the button, of course, 10sec later it switches back to the first map
How can this be solved? Maybe with some kind of 10hour delay for switching back after activating?
I want to always hold the button for 10sec before it switches the map. And it should stay in the selected map.
After ignition off, the state will be map 1 again i think? Or is there a way to save the last setting?
you need to use two functions one is connected to the button like I guess you have now . and second function βtoggleβ on with use of first function .
but i want a 10sek delay in switching. can you maybe at more time to switch?
after pressing the button for 10sec i want the different state. and when i let it off, it will stay in the state2 or will it switch back to 1? because on the manual it says "after releasing it will set the state to 0 (off) in my case that would switch my map back the moment i let off the button. thats not what i want.
i want a map switch that switches after holding a button for 10sec. and stays there as long as i dont hit the button again for 10sec
tha latching switch has its state.
so you need to use the fubcrion with 10s delay for true and eg 0.5s delay for false. and then use it as an input for latching switch.
if you press the switch 10s it will change the latching switch state to B.
You need then release the switch and again keep it 10s to change the latching switch state to A