State chart
Timing diagram
Press ▶ Play to start.
nsa (off-normal) and nsi (pulse) contacts, the same signals shown above as in_nsa / in_nsi.in_nsa=1 means "dial active". Each falling edge of
in_nsi increments pulseCount. A rising edge of in_nsi re-arms
the next count. When in_nsa falls, the digit is complete (STATE_DONE), then
ProcessIO() sends the HID key and returns to STATE_INIT.
nsa (off-normal) and nsi (pulse) contacts, the same signals shown above as in_nsa / in_nsi.