Quote:
Originally Posted by SeanPerez
it may only count once, but i was getting around 8000 rpm.
with your new code, the faster it spins, the lower the rpm.
|
Are you looking at the first column?
If you are, disregard that. That's the "dt" value. Sorry, I didn't make it very legible. Look at the second set of numbers.
0.43 RPM: 2803.74 Pot: 82
means that 0.43 is the time between calculations, 2803.74 is the revolutions per minute, and 82 is the potentiometer value.