Out port, value
|port||I/O port number (0 to 255)|
|value||Value to output to the specified I/O port (1 or 0)|
This command outputs a 1 (logic high) or a 0 (logic low) to the specified Port.
When you execute this command, the Cubloc will automatically set the port's I/O mode to output. If using the Out command it is not necessary to use the Output command to set the port beforehand.
Out 8,1 'Output a logic high signal on port 8. This is same as using command High 8. Out 8,0 'Output a logic low signal on port 8. This is same as using Low 8.