利用595芯片所写的光立方程序,可以实习0到9的计时,欢迎大家指正。
文档内容节选
includereg52h include intrinsh 空语句调用头文件 includezimoh define uchar unsigned char define uint unsigned int sbit DSP10 sbit CLKP11 74HC595 的 SHCP 11 脚 sbit STBP12 74HC595 的时钟和输出锁存 12 脚 坐标数组 uchar code shu801234567 十进制数选 uchar code x180x7f0xbf0xdf0xef0xf70xfb0xfd0xfe595 数据 uchar code y180xfe0xfd0xfb0xf70xef0xdf0xbf0x7f595 使能 uchar code z180x010x020x040x080x100x200x400x80 层扫描 亮度调节延时 void delayunsigned int i unsigned int j fori0i forj5j0j ......
猜您喜欢
推荐内容
开源项目推荐 更多
热门活动
热门器件
用户搜过
随便看看
热门下载
评论