用C语言编写一个在八个数码管上轮流显示1-8的程序

日期:2017-12-16 08:15:07 人气:1

用C语言编写一个在八个数码管上轮流显示1-8的程序

我这个程序是在PROTUES仿真上做的 你可以根据程序自己画电路图 很简单的 这里用到了 两片 74HC573 芯片 显示0---F #include #include #define uchar unsigned char #define uint unsigned int sbit duan=P1^6; sbit wei=P1^7; uchar temp=0x01; uchar code tab[]={ 0xc0,0xf9,0xA4,0xb0,0x99,0x92,0x82,0xf8,
    A+
热门评论