Yet Another WebIOPi+
 All Classes Namespaces Files Functions Variables Macros Pages
Public Member Functions | List of all members
webiopi.devices.analog.mcp4725.MCP4725 Class Reference
Inheritance diagram for webiopi.devices.analog.mcp4725.MCP4725:
webiopi.devices.analog.DAC webiopi.devices.i2c.I2C webiopi.devices.analog.ADC webiopi.devices.bus.Bus

Public Member Functions

def __init__
 
def __str__
 
def __analogRead__
 
def __analogWrite__
 
- Public Member Functions inherited from webiopi.devices.analog.DAC
def __init__
 
def __family__
 
def __analogWrite__
 
def analogWrite
 
def analogWriteFloat
 
def analogWriteVolt
 
- Public Member Functions inherited from webiopi.devices.analog.ADC
def __init__
 
def __family__
 
def checkAnalogChannel
 
def checkAnalogValue
 
def analogCount
 
def analogResolution
 
def analogMaximum
 
def analogReference
 
def __analogRead__
 
def analogRead
 
def analogReadFloat
 
def analogReadVolt
 
def analogReadAll
 
def analogReadAllFloat
 
def analogReadAllVolt
 
- Public Member Functions inherited from webiopi.devices.i2c.I2C
def __init__
 
def __str__
 
def readRegister
 
def readRegisters
 
def writeRegister
 
def writeRegisters
 
- Public Member Functions inherited from webiopi.devices.bus.Bus
def __init__
 
def open
 
def close
 
def read
 
def readBytes
 
def readByte
 
def write
 
def writeBytes
 
def writeByte
 

Additional Inherited Members

- Public Attributes inherited from webiopi.devices.i2c.I2C
 channel
 
 slave
 
- Public Attributes inherited from webiopi.devices.bus.Bus
 busName
 
 device
 
 flag
 
 fd
 

Detailed Description

Definition at line 20 of file mcp4725.py.

Constructor & Destructor Documentation

def webiopi.devices.analog.mcp4725.MCP4725.__init__ (   self,
  slave = 0x60,
  vref = 3.3 
)

Definition at line 21 of file mcp4725.py.

References webiopi.utils.types.toint().

Member Function Documentation

def webiopi.devices.analog.mcp4725.MCP4725.__analogRead__ (   self,
  channel,
  diff = False 
)

Definition at line 28 of file mcp4725.py.

References webiopi.devices.bus.Bus.readBytes().

def webiopi.devices.analog.mcp4725.MCP4725.__analogWrite__ (   self,
  channel,
  value 
)

Definition at line 34 of file mcp4725.py.

References webiopi.devices.bus.Bus.writeBytes().

def webiopi.devices.analog.mcp4725.MCP4725.__str__ (   self)

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