
130
[ 2 ] I/O devices capable of being monitored by the event polling
Listed below are the I/O devices which the event polling can monitor.
I/O Devices Monitor Means Events
Keyboard
INKEY$ function
Input of one character
from the keyboard
Bar code reader
EOF or LOC function
Presence/absence of bar
code data input or the
number of read characters
(bytes)
Receive buffer
EOF, LOC, or LOF
function
Presence/absence of
receive data or the number
of received characters
(bytes)
Timer
TIMEA, TIMEB, or
TIMEC function
Timer count-up
Monitoring with the INP Function
Monitoring with the INP FunctionMonitoring with the INP Function
Monitoring with the INP Function
Combining the INP function with the above functions enables more elaborate programming
for event polling.
For the INP function, refer to Appendix D, "I/O Ports."
Comentarios a estos manuales