This is a program that waits for interrupt input, if interrupt is inputted,
the result is displayed on screen.
Parameters are device name and number of trigger bits. If parameters is
not set, device name is "DIO000", number of trigger bits is
the total input bits of device.
In the state of command-input-wait, input 'q' to exit the program.