PiStorms  4.012
PiStorms Library Reference by mindsensors.com
 All Classes Namespaces Files Functions Variables
MsDevices.IRThermometer Class Reference

IRThermometer : this class provides PiStorms specific interface for the IR Thermometer sensor: http://www.mindsensors.com/products/170-ir-temperature-sensor-for-ev3-or-nxt. More...

Inheritance diagram for MsDevices.IRThermometer:

Public Member Functions

def __init__
 Initialize the class with the i2c address of your device. More...
 
def readAmbientCelsius
 
def readTargetCelsius
 
def readAmbientFahr
 
def readTargetFahr
 

Static Public Attributes

int IRT_ADDRESS = 0x2A
 Default I2C Address.
 
int IRT_COMMAND = 0x41
 Command Register.
 
int IRT_AMBIENT_CELSIUS = 0x42
 
int IRT_TARGET_CELSIUS = 0x44
 
int IRT_AMBIENT_FAHR = 0x46
 
int IRT_TARGET_FAHR = 0x48
 

Detailed Description

IRThermometer : this class provides PiStorms specific interface for the IR Thermometer sensor: http://www.mindsensors.com/products/170-ir-temperature-sensor-for-ev3-or-nxt.

Constructor & Destructor Documentation

def MsDevices.IRThermometer.__init__ (   self,
  port,
  address = IRT_ADDRESS 
)

Initialize the class with the i2c address of your device.

Parameters
selfThe object pointer.
portThe PiStorms bank.
addressAddress of your device
Remarks

The documentation for this class was generated from the following file: