ByteOut portBlock, value
portBlock | I/O Port Block Number (0 to 15) |
value | Value to be output (o to 255) |
ByteOut
outputs a value to a port block (a group of 8 I/O ports). When using this command, all I/O ports within the specified port block are set to output.
The CB220 and CB280 port block groupings are shown below.
ByteOut 1,255 ' Output 255 to Port Block 1. ' Ports 8 through 15 are set to HIGH.
NOTE: On the CB280, P1 only supports input. Therefore, ByteOut 0
will not set P1 to Output.