PiStorms
4.012
PiStorms Library Reference by mindsensors.com
|
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...
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 |
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.
def MsDevices.IRThermometer.__init__ | ( | self, | |
port, | |||
address = IRT_ADDRESS |
|||
) |
Initialize the class with the i2c address of your device.
self | The object pointer. |
port | The PiStorms bank. |
address | Address of your device |