$search

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


Member Function 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 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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables


element
Author(s): Patrick Goebel
autogenerated on Wed Nov 14 20:50:37 2012