Automating Measurements 6-7
Controlling Peripherals
Using the Parallel Port
Table 6-3 shows the pin numbers, data bus bit numbers, and signal
names:
Table 6-3 Parallel Port Pins
The data will typically remain valid until the next write to the parallel
port, but you should always latch the data using the strobe. Figure 6-2
shows a simple circuit which can be used to write to an 8-bit DAC and a
digital latch.
Pin Bit Name
1
2
3
4
5
6
7
8
9
N/A
D0
D1
D2
D3
D4
D5
D6
D7
Strobe
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
Data 8