Home > Back-end >  Three LED old error is a small white for bosses I help there
Three LED old error is a small white for bosses I help there

Time:09-24

# include "reg52. H"

Typedef unsigned char u8;
Typedef unsigned int under-16;


Sbit led=p0 ^ 0;

Void delay (under-16 I)
{
While (I -);
}

Void main ()
{
While (1)
{
Led=1;
Delay (50000);//450 ms
Led=0;
Delay (50000);
}
}

CodePudding user response:

Error message copy the sbit led=p0 ^ 0; To sbit led=P0 ^ 0;

CodePudding user response:

You should go to SCM BBS inside,

CodePudding user response:

This is to be flashing? See IO mouth what's right
  • Related