08-02-2007 05:58 PM
Well, I figured rounding down to the neares 0.1 rpm out of 20000 rpm would not make much of a difference ;). I don't think we need anything orange here. 😄
@C. Minnella wrote:
Really minor, but I think I would replace the Quotient & Remainder with a divide, and you could even use a floating point type for the speed control.
08-03-2007 09:53 AM
08-03-2007 10:07 AM - edited 08-03-2007 10:07 AM
@Vr6Fidelity wrote:
So I converted the displays over to I64.
@Vr6Fidelity wrote:
Im not really sure what the difference is between a U8, I8, etc.
Message Edited by altenbach on 08-03-2007 08:12 AM
08-03-2007 10:50 AM
The numbers still add up to crazy high values like for example the speed at 30,000 reads 532,000 or so.
08-03-2007 11:27 AM
08-03-2007 12:49 PM
Everything is working now, thanks to all of you.
08-03-2007 01:26 PM
Quick question, Everything is working well now and I am very pleased.
The voltage value that I am reading is changing a 2KHZ and since I am sampling it at the relativly slow speed of 4S/Sec It is a bit "Jittery"
I would like to make a running average of the last 10 samples. I know I need to use a shift register somehow, build an Array, sum the array elements and then divide by the number of array elements.
How do i make an array where the new value written "bumps" the bottom value out of the array?
I was thinking something along these lines? How do i make it have 10 points and the bumping action?
08-03-2007 01:37 PM
08-03-2007 01:42 PM
08-03-2007 02:30 PM