SetIn Statement
For Virtual IO, sets specified input port (8 bits) to the specified value.
Syntax
SetIn portNumber, value
Parameters
- portNumber
- Specify the input byte of I/O.
- value
- Specify a port number as an integer from 0 to 255.
Description
SetIn provides the ability to set up to 8 bits of virtual inputs at once.
See Also
SetInReal, SetSW, SetInW
SetIn Statement Example
> setin 0, 1 ' Sets the first bit of port 0 to On.