INPORT

Synopsis
INPORT portid
Description

Reads 2 bytes (16 bits) from the port specified by portid and output the data as an integer. The portid input specifies a "Hardware" port.

Do not confuse INPORT with PORTOPEN and PORTREADCHAR which are for communications through the serial and parallel ports.

Example
SHOW INPORT 198
25730
See Also
INPORTB
OUTPORT

SourceForge.net Logo