Public Member Functions | Public Attributes
serializer_driver.PhidgetsCurrent Class Reference

List of all members.

Public Member Functions

def __init__
def value

Public Attributes

 ac_dc
 model
 pin
 serializer

Detailed Description

Definition at line 1143 of file serializer_driver.py.


Constructor & Destructor Documentation

def serializer_driver.PhidgetsCurrent.__init__ (   self,
  serializer,
  pin,
  model = 20,
  ac_dc = "dc" 
)
Usage: myAmps = PhidgetsCurrent(serializer, pin)
   reading = myAmps.value()
   reading = myAmps.value(cached=True) # gets value from the cache
    The Phidgets Current Sensor class wraps an analog sensor port and converts the raw
    sensor reading to amps.  Note there are two models of the Phidgets current sensor, 
    one with a 20 amp max and the other with a 50 amp max. Also, either model can 
    measure either DC or AC current.

Definition at line 1144 of file serializer_driver.py.


Member Function Documentation

def serializer_driver.PhidgetsCurrent.value (   self,
  cached = False 
)

Definition at line 1158 of file serializer_driver.py.


Member Data Documentation

Definition at line 1151 of file serializer_driver.py.

Definition at line 1151 of file serializer_driver.py.

Definition at line 1151 of file serializer_driver.py.

Definition at line 1151 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