OUTPUT

From Smart Box
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]