Difference between revisions of "SHIP:Sail:mapSteinhartHart"

From Serious Documentation
Jump to: navigation, search
(Created page with " __NOTOC__ {{SailFuncTableStart|}}<onlyinclude> |{{SailFunc|mapSteinhartHart}}||{{DataType|Float}}||style="text-align:center;"|v5.0.131||Calculates the precise temperature of...")
 
 
Line 44: Line 44:
 
|}
 
|}
  
[[Categories:Numeric Functions]]
+
[[Category:Numeric Functions]]

Latest revision as of 15:14, 10 October 2016


Function Returns Introduced Description
mapSteinhartHart Float v5.0.131 Calculates the precise temperature of a thermister.

See Also:

Prototype

Float mapRange(Integer/Float R, Integer/Float A, Integer/Float B, Integer/Float C,);


Parameters/Return Value

Parameter Data Type Description
R Integer/Float resistance
A Integer/Float Coeff A
B Integer/Float Coeff B
C Integer/Float Coeff C
Return Integer the temperature

Detailed Description

The mapSteinhartHart(R, A, B, C) takes resistance and thermister coefficients and returns the temperature.

Examples

Example Result Notes
mapSteinhartHart(30000, 0.0014f, 0.000237f, 0.000000099f);
Still needs to be validated