谁会51单片机,8个数码管循环显示1-9的C语言程序。。。

日期:2018-01-18 13:44:17 人气:2

谁会51单片机,8个数码管循环显示1-9的C语言程序。。。

假设8个数码管公共端均接地,同时显示1-9 #include #include #define uchar unsigned char #define uint unsigned int uchar code DSY_CODE[]= { 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0x82,0xf8,0x80,0x90,0xff }; void DelayMS(uint x) { uchar t; while(x--) for(t=12
    A+
热门评论