Files |
file | dexterind-temp.h |
| ROBOTC DI Temp Probe Driver.
|
Functions |
bool | DTMPreadTemp (tSensors link, float &temp) |
bool | DTMPreadTempK (tSensors link, float &temp) |
bool | DTMPreadTempF (tSensors link, float &temp) |
Variables |
const float | _a [] = {0.003357042, 0.003354017, 0.0033530481, 0.0033536166} |
const float | _b [] = {0.00025214848, 0.00025617244, 0.00025420230, 0.000253772} |
const float | _c [] = {0.0000033743283, 0.0000021400943, 0.0000011431163, 0.00000085433271} |
const float | _d [] = {-0.000000064957311, -0.000000072405219, -0.000000069383563, -0.000000087912262} |
Detailed Description
Dexter Industries Temperature Probe Sensor driver
Function Documentation
bool DTMPreadTemp |
( |
tSensors |
link, |
|
|
float & |
temp |
|
) |
| |
Read the temperature in degrees Celcius.
- Parameters:
-
link | the DI Temp Sensor port number |
temp | the temperature value in degrees Celcius, |
- Returns:
- true if no error occured, false if it did
- Examples:
- dexterind-temp-test1.c.
Definition at line 57 of file dexterind-temp.h.
bool DTMPreadTempF |
( |
tSensors |
link, |
|
|
float & |
temp |
|
) |
| |
Read the temperature in Fahrenheit.
- Parameters:
-
link | the DI Temp Sensor port number |
temp | the temperature value in Fahrenheit, |
- Returns:
- true if no error occured, false if it did
- Examples:
- dexterind-temp-test1.c.
Definition at line 110 of file dexterind-temp.h.
bool DTMPreadTempK |
( |
tSensors |
link, |
|
|
float & |
temp |
|
) |
| |
Read the temperature in Kelvin.
- Parameters:
-
link | the DI Temp Sensor port number |
temp | the temperature value in Kelvin, |
- Returns:
- true if no error occured, false if it did
- Examples:
- dexterind-temp-test1.c.
Definition at line 73 of file dexterind-temp.h.
Variable Documentation
const float _a[] = {0.003357042, 0.003354017, 0.0033530481, 0.0033536166} |
const float _b[] = {0.00025214848, 0.00025617244, 0.00025420230, 0.000253772} |
const float _c[] = {0.0000033743283, 0.0000021400943, 0.0000011431163, 0.00000085433271} |
const float _d[] = {-0.000000064957311, -0.000000072405219, -0.000000069383563, -0.000000087912262} |