- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 38kb
- Update:
- 2015-07-03
- Downloads:
- 0 Times
- Uploaded by:
- 张琳
Description: 1 basic parts
The experimental simulation of traffic signal control, generally display properly, when the ambulance arrived, two direction traffic signal lamp Quanhong so that emergency vehicles through. Set up a first aid car through the intersection time is 5 seconds, the emergency vehicle passed, the traffic returned to normal, this experiment with a single pulse to apply for external interrupt, said there are emergency vehicles through.
This experiment red light every time 10 seconds, yellow light 1.5 seconds flashing three times, the green light 8.5 seconds, all the time required by the timer timing.
2 improve part
The ambulance has passed, will represent the four corners of the world to the host computer through the status information of the serial port to send. (where high four said something to the first one, then red, yellow, and green, low four representatives the north and south to 0 first, then red, yellow, and green)
To Search:
File list (Check if you may need any files):
交通灯\hl.c
......\hl.LST
......\hl.OBJ
......\hl.uvopt
......\hl.uvproj
......\hl_uvproj.bak
......\led
......\led.hex
......\led.lnp
......\led.LST
......\led.M51
......\led.OBJ
......\led.plg
......\led.uvopt
......\led_uvopt.bak
......\led_uvproj.bak
......\les.LST
......\les.OBJ
......\STARTUP.A51
......\STARTUP.LST
......\STARTUP.OBJ
交通灯