OUTPUT
Syntax
OUTPUT expression
Description
OUTPUT will set the pin corresponding to expression to an output. INPUT and OUTPUT were added for PBASIC compatability, DIR(x)=1 will be faster.
Example
' Set pin 9 as an output
OUTPUT 9
Differences from other BASICs
- no equivalent in Visual BASIC
- none from PBASIC