regin
Junior Member level 1
hi,
i am a beginner in microcontroller and embbeded c.
///// please help me/////
why 1275 value selected in this fuction?
void delay(unsigned int msec)
{
int i,j;
for(i=0;i<msec;i++)
for(j=0;j<1275;j++);
}
what is the logic behind this?
i am using AT89s52 .... frequency set to 11.0592 mhz.
i am a beginner in microcontroller and embbeded c.
///// please help me/////
why 1275 value selected in this fuction?
void delay(unsigned int msec)
{
int i,j;
for(i=0;i<msec;i++)
for(j=0;j<1275;j++);
}
what is the logic behind this?
i am using AT89s52 .... frequency set to 11.0592 mhz.