Parallel Port Commands In Turing We can send out a number between 0 and 255 to the parallel port. The signals that come out of the parallel port can be represented by an 8 digit binary number (1 is a high signal, 0 is a low signal). Number Sent Out 0 1 2 3 4 5 6 7 8 255 D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 1 1 1 0 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 To send a signal to the parallel port in Turing we use the command: parallelput(number) Where the number is between 0 and 255. Examples: parallelput(7) This sends a high signal out of pins D0, D1, and D2 7 = 00000111 parallelput (0) This sends out a low signal (off) to all of the pins. 0 = 00000000 parallelput(132) This sends a high signal out of pins D2 and D7. 132 = 10000100