Description: Experiment 2: DIP switch control the display one purpose of the experiment to learn how to plan the 8255 work in the mode 0 (Mode 0), use DIP switch (DIP SW) as the basic input to control the output. Second, experimental features 1. When the computer keyboard by pressing the " 1" , according to the setting of DIP switch corresponds to the display LEDs 2. When the computer keyboard by pressing the " 2" when the DIP switch according to the highest bit set in only shows the corresponding LED. 3. When the computer keyboard by pressing " 3" , the value set by DIP SW s and, in binary encoding shown in the LEDs.
To Search:
File list (Check if you may need any files):
DIP.c