Public Member Functions | Public Attributes
serializer_driver.PhidgetsTemperature Class Reference

List of all members.

Public Member Functions

def __init__
def value

Public Attributes

 pin
 serializer
 temp_units

Detailed Description

Definition at line 1112 of file serializer_driver.py.


Constructor & Destructor Documentation

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.


Member Function Documentation

def serializer_driver.PhidgetsTemperature.value (   self,
  cached = False,
  units = "F" 
)

Definition at line 1124 of file serializer_driver.py.


Member Data Documentation

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.


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


serializer
Author(s): Patrick Goebel
autogenerated on Mon Oct 6 2014 12:12:01