internetuser2k13
Member level 3
- Joined
- Aug 10, 2013
- Messages
- 56
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Location
- pakistan
- Activity points
- 408
hello,
i want to know the basic understanding of delay function, how its working.
i want to know the basic understanding of delay function, how its working.
Code:
void delay_sec(unsigned char seconds) // This function provides delay in terms of seconds
{
unsigned char i,j;
for(i=0;i<seconds;i++)
for(j=0;j<100;j++)
__delay_ms(10);
}