RPM Calculation
Posted: 01 May 2014, 18:34
Hey,
first of all, a big thank you. I really like your program.
ATM I'm writing a small program that let me read and write directly to the smc.
After some testing I noticed a small offset between the rpm shown in your software and my calculation based on the raw smc output.
For example:
The min fan speed (F0Mn) is reads as 0x144C (fpe2 type).
In order to get the resulting rpm i rightshifted it by 2 and converted it to a decimal.
That results in 1299.
But if i look at your program, it shows 1294.
Now i don't really care about such a minor difference, but i'm curious why they are not the same and if i made a mistake.
first of all, a big thank you. I really like your program.
ATM I'm writing a small program that let me read and write directly to the smc.
After some testing I noticed a small offset between the rpm shown in your software and my calculation based on the raw smc output.
For example:
The min fan speed (F0Mn) is reads as 0x144C (fpe2 type).
In order to get the resulting rpm i rightshifted it by 2 and converted it to a decimal.
That results in 1299.
But if i look at your program, it shows 1294.
Now i don't really care about such a minor difference, but i'm curious why they are not the same and if i made a mistake.