Introduction - If you have any usage issues, please Google them yourself
I pick through the PA 8 switch K1 ~ K8, switch up the input high, the logic ' 1 ' . Down input low, that the logical ' 0 ' . PB export through 74LS240 (8 Lu, RP) received eight LED cathode, PB port output ' 1 ' , by 74LS240 inverting output ' 0' , drive light emitting diodes (see experiment 1, Figure 1 • 1). PA I read from the 8-bit switch state to send PB I showed Slide K1 ~ K8, PB 8 port on the connected light-emitting diode display the corresponding L0 ~ L7 K1 ~ K8 state.