Write 8 bits to the digital control port B0 - B7. Set the mode of any of the 8 digital signals. 1 == output, 0 == input.