📖⚡Dirs
Set the Input/Output direction status of a port (only affects ports that can change direction).
Syntax
LET DIRS = Value
Example
LET DIRS = %00010111
' DIRS Example ' Dirs.txt ' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ' Select Kic8 for this to compile ' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DO ' Set to outputs ' 1 = output ' 0 = input ' Pin3 is fixed as an input DIRS = %00010111 'Set to inputs DIRS = 0 LOOP