Public Member Functions | Public Attributes
serializer_driver.GP2D12 Class Reference

List of all members.

Public Member Functions

def __init__
def value

Public Attributes


Detailed Description

Definition at line 1176 of file

Constructor & Destructor Documentation

def serializer_driver.GP2D12.__init__ (   self,
Usage: myIR = GP2D12(serializer, pin)
   reading = myIR.value()
   reading = myIR.value(cached=True) # gets value from the cache
    The Sharp GPD12 IR Sensor class wraps an analog sensor port and converts the raw
    sensor reading to either inches or cm depending on the units settings.

Definition at line 1177 of file

Member Function Documentation

def serializer_driver.GP2D12.value (   self,
  cached = False 

Definition at line 1187 of file

Member Data Documentation

Definition at line 1182 of file

Definition at line 1182 of file

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

Author(s): Patrick Goebel
autogenerated on Sun Jan 5 2014 11:31:58