文件名称:traffic
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [ASM] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 40kb
- 下载次数:
- 0次
- 提 供 者:
- 小*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用keil+汇编写的一个交通灯设置控制程序,涉及定时器中断、串口通信与中断、外部中断,通过两个c52串口互联,可在一端设置红黄绿时间,另一端接收并储存时间设定,发送端键盘接P1[0~6],接收端led-8接P1,P2[0~2],另外接外部中断,应对突发事件,本程序纯粹是本人失误产生,老师让写c语言,结果偶没听见,以为写汇编,杯具的程序就此产生了……不过还是很有借鉴意义的一个小程序啦,内附详细说明(本人一贯风格)-Using keil+ assembly to write a set of traffic lights control program, involving the timer interrupts, serial communication with the interrupt, external interrupt, serial port connected through two c52, red yellow and green in one end of the set time, the other end to receive and save time setting, sending the keyboard then P1 [0 ~ 6], the receiver led-8 then P1, P2 [0 ~ 2], other then the external interrupts, deal with unexpected events, this program is purely a mistake I have, the teachers write c language, The results did not hear even thought to write assembly, cups produced with the program ... ... but this is still a very small program reference matter, containing a detailed descr iption of (my usual style)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
交通灯发送端\STARTUP.A51
............\STARTUP.LST
............\STARTUP.OBJ
............\traffic
............\traffic.asm
............\traffic.hex
............\traffic.lnp
............\traffic.LST
............\traffic.M51
............\traffic.OBJ
............\traffic.Opt
............\traffic.plg
............\traffic.Uv2
............\traffic_Opt.Bak
............\traffic_Uv2.Bak
......终极版\STARTUP.A51
............\STARTUP.LST
............\STARTUP.OBJ
............\traffic
............\traffic.asm
............\traffic.hex
............\traffic.lnp
............\traffic.LST
............\traffic.M51
............\traffic.OBJ
............\traffic.Opt
............\traffic.plg
............\traffic.uv2
............\traffic_Opt.Bak
交通灯发送端
交通灯终极版
............\STARTUP.LST
............\STARTUP.OBJ
............\traffic
............\traffic.asm
............\traffic.hex
............\traffic.lnp
............\traffic.LST
............\traffic.M51
............\traffic.OBJ
............\traffic.Opt
............\traffic.plg
............\traffic.Uv2
............\traffic_Opt.Bak
............\traffic_Uv2.Bak
......终极版\STARTUP.A51
............\STARTUP.LST
............\STARTUP.OBJ
............\traffic
............\traffic.asm
............\traffic.hex
............\traffic.lnp
............\traffic.LST
............\traffic.M51
............\traffic.OBJ
............\traffic.Opt
............\traffic.plg
............\traffic.uv2
............\traffic_Opt.Bak
交通灯发送端
交通灯终极版