文件名称:button-keys--led
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-08-04
- 文件大小:
- 109kb
- 下载次数:
- 0次
- 提 供 者:
- 杨*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
8255A的A口作为输出功能,连接8盏LED灯。
8255A的B口作为输入功能,连接8个按钮。
当B口的某一按钮按下,对应的LED灯就点亮同时。同时,数码管上显示对应的按键号。如B口按钮1按下,1号LED灯就点亮,8段数码管显示1.-8255A A-port as output, connect 8 LED lights. 8255A, B port as input, connecting eight buttons. When the B port of a button is pressed, the corresponding LED lights will light up simultaneously. Meanwhile, the digital tube display the corresponding key number. If port B button 1 Press, the 1st LED lights will illuminate and an 8-segment LED display.
8255A的B口作为输入功能,连接8个按钮。
当B口的某一按钮按下,对应的LED灯就点亮同时。同时,数码管上显示对应的按键号。如B口按钮1按下,1号LED灯就点亮,8段数码管显示1.-8255A A-port as output, connect 8 LED lights. 8255A, B port as input, connecting eight buttons. When the B port of a button is pressed, the corresponding LED lights will light up simultaneously. Meanwhile, the digital tube display the corresponding key number. If port B button 1 Press, the 1st LED lights will illuminate and an 8-segment LED display.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
20121885杨丹
20121885杨丹.doc
............\Last Loaded test.DBK
............\STARTUP.A51
............\STARTUP.LST
............\STARTUP.OBJ
............\test
............\test.c
............\test.DSN
............\test.hex
............\test.lnp
............\test.LST
............\test.M51
............\test.OBJ
............\test.plg
............\test.PWI
............\test.uvopt
............\test.uvproj
............\test.__i
............\test_uvopt.bak
............\test_uvproj.bak