User Tools

Site Tools

한국어

cubloc:output:index

Output

Output port

port I/O port number (0 to 255)

Set the port's I/O mode to output. All Cubloc module's I/O ports are set to High-Z input by default at power on.

Output 8    'Set port 8's I/O mode to output.

You can also use the High or Low commands to set a port's I/O mode to output. When using the Output command, the port's output (logic high or logic low) is not clearly defined. Therefore, it recommended to use the High or Low commands to set a port's I/O mode so the port's output is properly initialized.

Low 8    'Set port 8's I/O mode to output and output a logic low.

Go CUBLOC home

cubloc/output/index.txt · Last modified: 2016/04/14 11:07 (external edit)