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

dexterind-thermalir.h File Reference

Dexter Industries Thermal Infrared Sensor driver. More...

#include "common.h"

Go to the source code of this file.

Defines

#define TIR_I2C_ADDR   0x0E
#define TIR_AMBIENT   0x00
#define TIR_OBJECT   0x01
#define TIR_SET_EMISSIVITY   0x02
#define TIR_GET_EMISSIVITY   0x03
#define TIR_CHK_EMISSIVITY   0x04
#define TIR_RESET   0x05
#define TIR_EM_SKIN_LIGHT   5660
#define TIR_EM_SKIN_DARK   8380
#define TIR_EM_GLASS   9200
#define TIR_EM_CANDLE_SOOT   9500
#define tempFactor   0.02

Functions

float TIRreadAmbientTemp (tSensors link)
float TIRreadObjectTemp (tSensors link)
bool TIRsetEmissivity (tSensors link, int emissivity)
bool TIRresetSensor (tSensors link)
long TIRreadEmissivity (tSensors link)
long TIRcheckEmissivity (tSensors link)

Variables

tByteArray TIR_I2CRequest
tByteArray TIR_I2CReply

Detailed Description

Dexter Industries Thermal Infrared Sensor driver.

TIR2-driver.h provides an API for the Dexter Industries Thermal Infrared Sensor driver.

Changelog:

Credits:

License: You may use this code as you wish, provided you give credit where its due.

THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.

Author:
Xander Soldaat (xander_at_botbench.com)
Date:
10 June 2011
Version:
0.1

Definition in file dexterind-thermalir.h.