Set direction configuration

Command Code:

Binary: [1 0 1 1 1 1 1 1] [0 0 0 1 0 0 1 0] [direction bits D]


Configures the parallel port lines as inputs or outputs. The bits d7:d0 in the direction byte D correspond 1 to 1 with the Parallel Port I/O lines DIO7:DIO0. Setting a direction bit to 1 assigns the corresponding DIO line as an input, while setting it to 0 make it an output. At startup, all DIO lines are configured as inputs. The use of handshaking on lines DISTB/DIO7 and DOSTB/DIO6 overrides the direction configuration for these lines while enabled. Slink-e will return a configuration direction equals response to verify your command.