I face a weird problem. I have this piece of code to count external clock pulses.
When I first time run in debugger mode with setting breakpoint in while loop end; it gives around variable 27000-32000 count more.
My external clock is clean, and I use port A3 to external trigger to oscillator.
But after stopping first time I loop around it gives me accurate number.
If someone can throw light on this one it would be a great help.
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
Posted: Thu Dec 11, 2008 2:49 pm
It sure sounds like a debugger problem. Program a real chip and I bet the problem goes away. _________________ The search for better is endless. Instead simply find very good and get the job done.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum