CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - stop light
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Games
SDK
Other
Search - stop light - List
[
Other resource
]
红绿灯
DL : 0
模拟交通灯,并带有数字显示的程序。初始时全为红灯,显示“HELLO”字样。然后交通灯以“红绿、红黄、绿红、黄红”四种状态做循环,而且黄灯会闪烁,每种状态都带有到数记时。当按下P3_2时,变成“红红”状态,并显示“STOP”字样! -simulated traffic lights and figures with the procedure. When all of the initial red, shows that the "hello" words. Then traffic lights to the "black, red and yellow, green, red, yellow red" state to do four cycle, but the yellow light flashes, each state will have a few to remember when. When pressed P3_2, into a "red" state, and shows that the "STOP" word!
Date
: 2008-10-13
Size
: 25.24kb
User
:
SKY
[
Other resource
]
traffic_control
DL : 0
设计制作一个用于十字路口的交通灯控制器 有一组绿、黄、红灯用于指挥交通,绿灯、黄灯和红灯的持续时间分别为20秒、5秒和25秒; 当有特殊情况(如消防车、救护车等)时,两个方向均为红灯亮,计时停止,当特殊情况结束后,控制器恢复原状态,继续正常运行-design a crossroads for the traffic signal controller is a group in green, yellow and red lights to direct traffic. green, yellow and red, respectively for the duration of 20 seconds, five seconds and 25 seconds; When special circumstances (such as fire engines, ambulances and the like), in both directions were red light, stop time, when the special circumstances after the controller to restore the original state, continue normal operations
Date
: 2008-10-13
Size
: 2.47kb
User
:
那锋
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.