Introduction - If you have any usage issues, please Google them yourself
		 
Proteus single-chip microcomputer simulation, digital tube
# include < reg51. H >
Unsigned char code Tab [] {xa4 xc0 0, 0 xf9, 0, 0 xb0, 0 x99, 0 x92, 0 x82, 0 xf8, 0 x80, 0 x90} 
Void Delay ()
{
Unsigned char I, j 
For (I 0 I < 255 i++)
For (j 0 j < 255 j++) 
}
Void main ()
{
Unsigned char I 1 
While (1)
{
P0 Tab [I] 
Delay () 
I++ 
If (I > 9) I 0 
}
}