- Name:
-
readoutputs
- Syntax:
-
READOUTPUTS variable
variable - is a byte variable to receive the output pins values
- Description:
-
Read the output pins value into variable.
The current state of the output pins can be read into a variable using the readoutputs command. Note that this is not the same as 'let var = pins', as this let command reads the status of the input (not output) pins. This command is not normally used with M2, X1 or X2 parts as the outputs can be read directly with 'let var = outpinsX'