OUTPUT

From Smart Box
Revision as of 19:28, 6 October 2023 by Benryves (talk | contribs) (Created page with "== Syntax == OUTPUT value == Description == This command can be used to switch on and off the digital outputs simultaneously. Each digital output has a unique number associated with it. By adding up the values for any outputs you want to switch on you can set some of the outputs on while switching off any other outputs which may have been on. == Example == LET A=1 REPEAT PRINT A OUTPUT A LET A=A+A UNTIL A=256 == Associated keywords == * SWITCH ON...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax[edit]

OUTPUT value

Description[edit]

This command can be used to switch on and off the digital outputs simultaneously. Each digital output has a unique number associated with it. By adding up the values for any outputs you want to switch on you can set some of the outputs on while switching off any other outputs which may have been on.

Example[edit]

LET A=1
REPEAT
PRINT A
OUTPUT A
LET A=A+A
UNTIL A=256

Associated keywords[edit]