Yet Another WebIOPi+
 All Classes Namespaces Files Functions Variables Macros Pages
Public Member Functions | Public Attributes | List of all members
webiopi.devices.analog.mcp492X.MCP492X Class Reference
Inheritance diagram for webiopi.devices.analog.mcp492X.MCP492X:
webiopi.devices.spi.SPI webiopi.devices.analog.DAC webiopi.devices.bus.Bus webiopi.devices.analog.ADC webiopi.devices.analog.mcp492X.MCP4921 webiopi.devices.analog.mcp492X.MCP4922

Public Member Functions

def __init__
 
def __str__
 
def __analogRead__
 
def __analogWrite__
 
- Public Member Functions inherited from webiopi.devices.spi.SPI
def __init__
 
def __str__
 
def xfer
 
- 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
 
- 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 Attributes

 buffered
 
 gain
 
 shutdown
 
 values
 
- Public Attributes inherited from webiopi.devices.spi.SPI
 chip
 
 mode
 
 bits
 
 speed
 
- Public Attributes inherited from webiopi.devices.bus.Bus
 busName
 
 device
 
 flag
 
 fd
 

Detailed Description

Definition at line 19 of file mcp492X.py.

Constructor & Destructor Documentation

def webiopi.devices.analog.mcp492X.MCP492X.__init__ (   self,
  chip,
  channelCount,
  vref 
)

Definition at line 20 of file mcp492X.py.

References webiopi.utils.types.toint().

Member Function Documentation

def webiopi.devices.analog.mcp492X.MCP492X.__analogRead__ (   self,
  channel,
  diff = False 
)
def webiopi.devices.analog.mcp492X.MCP492X.__analogWrite__ (   self,
  channel,
  value 
)
def webiopi.devices.analog.mcp492X.MCP492X.__str__ (   self)

Member Data Documentation

webiopi.devices.analog.mcp492X.MCP492X.buffered

Definition at line 23 of file mcp492X.py.

Referenced by webiopi.devices.analog.mcp492X.MCP492X.__analogWrite__().

webiopi.devices.analog.mcp492X.MCP492X.gain

Definition at line 24 of file mcp492X.py.

Referenced by webiopi.devices.analog.mcp492X.MCP492X.__analogWrite__().

webiopi.devices.analog.mcp492X.MCP492X.shutdown

Definition at line 25 of file mcp492X.py.

Referenced by webiopi.devices.analog.mcp492X.MCP492X.__analogWrite__().

webiopi.devices.analog.mcp492X.MCP492X.values

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