.portstate Property

Function:

Sets/returns the state of the currently selected I/O port (selection is made through the io.portnum property).

Type:

Byte

Value Range:

0-255. The default value is hardware-dependent.

See Also:

Line/Port Manipulation with Preselection, io.portenabled


Details

Each I/O port groups eight I/O lines. Each bit of this property's byte value corresponds to one "member" I/O line.


.portstate Property

Details