# include "intrins. H"
Typedef unsigned char u8;
Typedef unsigned int under-16;
U8 code smgduan [16]={x5b x3f 0, 0 x06, 0, 0, x4f x66 0, 0 x6d, 0 x7d, 0 x07, 0 x7f, 0 x6f, 0 x77,
X5e x7c 0, 0 x39, 0, 0 x79, 0 x71};//total Yin
Void delay (under-16 I)
{
While (I -);
}
Void main ()
{
Under-16 I=0;
While (1)
{
for(i=0; i<16, i++)
{
P0=~ smgduan [0].
Delay (50000);
}
}
}

CodePudding user response:
for(i=0; i<16, i++) to modify the for (I=0; i<16. i++)CodePudding user response:
16 behind should be a semicolonCodePudding user response:
Look at the code to display the 0-15 need to modify the
for(i=0; i<16. I++)
{
P0=~ smgduan [I];
Delay (50000);
}
CodePudding user response:
Learning, for more,CodePudding user response:
One more}CodePudding user response:

CodePudding user response:
Delay (50000); Delay 50 seconds? What took you so longCodePudding user response:

CodePudding user response:
Download sample projectCodePudding user response:
