Maximite 2: How to make switch trigger only once when pressed


Author Message
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 06:37am 03 Dec 2020      

Not a problem with my Select Case example; any contact bounce would cause a reset of the timer and the contacts would need to remain closed for 100ms to register as a valid signal. The Case 2 is do-nothing while the input is still high and that can be used for a long press if required.