Menu

Custom Search

Microcontroller Program

#include
voidMSDelay (unsigned int);
{
P0=0x55;
P1=0x55;
P2=0x55;
while (1)
{
P0=p0^0xFF;
P1=P1^0XFF;
P2=P2^0XFF;
MSDelay(250);
}
}
void MSDelay (unsigned int 1, itime)
{
unsigned intn 1, j;
for (1=0;1 for (j=0;j<1275;j++);
}P1=P1^0XFF;

No comments:

Post a Comment