Input (button). Long press timer begins from 0 when 'In' is true/high. Timer is deactivated if 'In' returns to false/low before interval is complete.
Countnumber
Input number of increments to be counted before long press is active.
Intervalnumber
Interval of increments in seconds
E-STOPpulse
Use if emergency stop is required.
Sending pulse resets output boolean to false.
Donepulse
Pulses on completion of hold interval
Outboolean
Output boolean.
Flip-flops between true/false each time the long press count has been achieved.
To use the node in your project you should have the mci-ryan/longpress-button library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.