Guys,i;m using PIC16F877A with crystal value of 20Mhz and High speed frequency.
How am i going to create a 50mili second delay? if i want to use delay looping with the NOP();.
unsigned int a;
For(a=0;a=<10000;a++)
{
NOP();
}
Is there any ways to calculate the number of looping the NOP to create a 50milisecond?
i;m using C language to write the code.
How am i going to create a 50mili second delay? if i want to use delay looping with the NOP();.
unsigned int a;
For(a=0;a=<10000;a++)
{
NOP();
}
Is there any ways to calculate the number of looping the NOP to create a 50milisecond?
i;m using C language to write the code.