Hello Unregistered ,
Originally Posted by skimask What does this do on PortD.0? My point is that it looks like your program 'flow' is jacked up and needs to be reworked. I've done that. It shows 4330Hz... Originally Posted by Darrel Taylor Sylvio, This may sound silly, but are you sure it's a 20mhz crystal? A 4mhz crystal with that Timer1 reload value would give ~870 hz. <br> Yes, I am sure about it.. It is a 20Mhz Xtal.. Then ~900Hz is the frequency that the block (if flag = 1 ..) is running, but no the timer1 interrupt... Thanks !
Sylvio,
Forum Rules
Bookmarks