chethankp
Member level 4
Hi,
I have connected 16MHz crystal to micro controller, now I want check this clock speed using software .
i.e I want to verify in which speed micro controller is runnig in case of the crystal is not connected.
I have written small code to check this : I was verifying this on oscilloscope
while(1)
{
delay ();
P1=1;
delay();
P1=0
}
Due to While loop it was difficulty to set the duty cycle .
is there any way to implement this..?
I have connected 16MHz crystal to micro controller, now I want check this clock speed using software .
i.e I want to verify in which speed micro controller is runnig in case of the crystal is not connected.
I have written small code to check this : I was verifying this on oscilloscope
while(1)
{
delay ();
P1=1;
delay();
P1=0
}
Due to While loop it was difficulty to set the duty cycle .
is there any way to implement this..?