void main()
{
unsigned char tab, j;
unsigned int i;
unsigned int p=1;
unsigned int o;
hld();
for(o=0;o<4;o++)
{
ys();
}
while(p)
{
for(i= 0; i<50; i++ )
{
for(tab=0;tab<8;tab++)
{
Hc595SendByte(0x00);
COMMONPORTS = TAB[tab];
Hc595SendByte(CHARCODE[j][tab]);
delay(2);
}
}
j++;
if(j == 8)
{
j = 0;
}
p++;
if(p == 10)
{
p = 0;
}
}
}
這是顯示屏程式,大致看一下。主要是思路
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/261112.html
標籤:C++ 語言
