Public Member Functions | Public Attributes
src.element_driver.PhidgetsTemperature Class Reference

List of all members.

Public Member Functions

def __init__
def value

Public Attributes

 Element
 pin
 temp_units

Detailed Description

Definition at line 1192 of file element_driver.py.


Constructor & Destructor Documentation

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 1193 of file element_driver.py.


Member Function Documentation

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

Definition at line 1204 of file element_driver.py.


Member Data Documentation

Definition at line 1198 of file element_driver.py.

Definition at line 1198 of file element_driver.py.

Definition at line 1198 of file element_driver.py.


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


element
Author(s): Patrick Goebel
autogenerated on Sun Oct 5 2014 23:44:54