You have me confused, which is not too unusual. I thought that the sample had to be 10 times LONGER to get 0.1 resolution and 100 times LONGER to get 0.01 resolution for low Hertz frequencies i.e. 1/10 Hz for 1 decimal and 1/100 Hz for 2 decimals. Can you enlighten me?Hi RG23,
You need a timer to be at 10Hz (if you want 1 decimal), 100HZ (if you want 2 decimals), and so on... You will need a counter variable, so for every timer interrupt, have your counter increment, i.e. counter++;
<snip>
Did you see the link I posted in reply #8?i have still not figured out the problem
I would appreciate any further help
Thanks
by Jake Hertz
by Jake Hertz
by Jake Hertz
by Jake Hertz