$search
Public Member Functions | |
def | __init__ |
def | value |
Public Attributes | |
Element | |
pin | |
temp_units |
Definition at line 1189 of file element_driver.py.
def src::element_driver::PhidgetsTemperature::__init__ | ( | self, | ||
Element, | ||||
pin, | ||||
units = "F" | ||||
) |
Usage: myTemp = PhidgetsTemperature(Element, pin) reading = myTemp.value() reading = myTemp.value(cached=True) # gets value from the cache The Phidgets Temperature Sensor class wraps an analog sensor port and converts the raw sensor reading to either Farhenheit or Celcius depending on the units argument.
Definition at line 1190 of file element_driver.py.
def src::element_driver::PhidgetsTemperature::value | ( | self, | ||
cached = False , |
||||
units = "F" | ||||
) |
Definition at line 1201 of file element_driver.py.
Definition at line 1197 of file element_driver.py.
Definition at line 1198 of file element_driver.py.
Definition at line 1199 of file element_driver.py.