Mindstorms 3rd Party ROBOTC Drivers RobotC
[Home] [Download] [Submit a bug/suggestion] [ROBOTC Forums] [Blog] [Support this project]
Files | Functions | Variables

Temp Probe
[Dexter Industries]

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:
linkthe DI Temp Sensor port number
tempthe 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:
linkthe DI Temp Sensor port number
tempthe 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:
linkthe DI Temp Sensor port number
tempthe 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}

Definition at line 39 of file dexterind-temp.h.

const float _b[] = {0.00025214848, 0.00025617244, 0.00025420230, 0.000253772}
Examples:
mindsensors-nxtcam-test1.c.

Definition at line 40 of file dexterind-temp.h.

const float _c[] = {0.0000033743283, 0.0000021400943, 0.0000011431163, 0.00000085433271}

Definition at line 41 of file dexterind-temp.h.

const float _d[] = {-0.000000064957311, -0.000000072405219, -0.000000069383563, -0.000000087912262}

Definition at line 42 of file dexterind-temp.h.