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'

Applies To:
See Also:
Related Create:
    Share:
    Print:

    Read output values

    Read outputs value into b1

    Code Example:
    main:	readoutputs b1	; read outputs value into b1
    Copy Code Submit an Example

    Submit Your Own Code!

    You must be logged in to submit code examples. Login now.