Explanation
This is a program that waits for trigger
input, if trigger is inputted, the result is displayed on screen.
In this program, 100ms is used as the trigger monitoring cycle.
Number of trigger bits is the total input bits of device.
In the state of command-input-wait, input 'q' to exit the program.
Execution example
py trigger.py
Execution screen