SHIP:Sail:mapSteinhartHart

From Serious Documentation
Jump to: navigation, search


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