Public Member Functions | |
def | __init__ |
def | value |
Public Attributes | |
pin | |
serializer | |
temp_units |
Definition at line 1112 of file serializer_driver.py.
def serializer_driver.PhidgetsTemperature.__init__ | ( | self, | |
serializer, | |||
pin, | |||
units = "F" |
|||
) |
Usage: myTemp = PhidgetsTemperature(serializer, 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 1113 of file serializer_driver.py.
def serializer_driver.PhidgetsTemperature.value | ( | self, | |
cached = False , |
|||
units = "F" |
|||
) |
Definition at line 1124 of file serializer_driver.py.
Definition at line 1118 of file serializer_driver.py.
Definition at line 1118 of file serializer_driver.py.
Definition at line 1118 of file serializer_driver.py.