Description: 1, with a countdown traffic light control: L7, L6, L5 as connected to the North-South junction traffic lights and PC7, PC6, PC5 L2, L1, L0 as things junction traffic lights and PC2 PC1 PC0 connected (mode 0). PA0 ~ PA6 PA port as an output port (way 0 output) connected to the 7-segment LED segment code, PC3, PC4 connecting digital tube S0, S1 to select the display bit. 8253 to produce 1 second interrupt signal processing in the interrupt handler using the program for a 10-second delay and the flashing yellow light.
Programmed to six lights variation of traffic lights burning off, digital display countdown value (10 ~ 0,4 ~ 0).
2, with a traffic light violation camera functions to control: the L7, L6, L5 as a north-south junction traffic lights connected to PA7, PA6, PA5 L2, L1, L0 as things junction traffic lights and PA2, PA1, PA0 connected. PA port in Mode 1 (output). 8253 to produce 1 second interrupt signal processing in the interrupt handler using the program for a 10-second d
To Search:
File list (Check if you may need any files):
EXP7_1.CPP
EXP7_2.CPP