====== 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.
For the CB290 and the CT1721, you must use [[cubloc:set_outonly:index|Set Outonly On]] to use P24 ~ P55 as outputs.
[[cubloc:index#system_library:|Go CUBLOC home]]