I have connected some simple momentary-action switches to (T3-BB) inputs - configured Digital Off/On. Pressing the switch is not recognised unless the button is held-in for at least 1-2 sec - much longer than a “normal” button press. Is there any way to fix this?
Would it help to “stretch” the button press - eg 2second one-shot - hopefully in software??
When we configure inputs to Digital Off/On mode, the controller judges the ON/OFF status by sampling the port level. Consequently, very short button presses will be missed.
However, inputs IN26–IN32 on the T3-BB can be set to HSP mode. Once this function is enabled, level transitions are detected via interrupts. You may use these six channels to capture short button presses.
There is a demo for you.
Thank you Chelsea, I will give this a try.
I had thought IN26 to IN32 were intended for repetitive high-speed pulse trains - eg a 50Hz squarewave from a rotary encoder or hall-effect flow meter.
Previously I never had any success using type 55 with single switch pulses - would tend to increment the counter.
Brian