Public Member Functions | |
def | __init__ |
def | __str__ |
def | __analogRead__ |
def | __analogWrite__ |
![]() | |
def | __init__ |
def | __str__ |
def | xfer |
![]() | |
def | __init__ |
def | open |
def | close |
def | read |
def | readBytes |
def | readByte |
def | write |
def | writeBytes |
def | writeByte |
![]() | |
def | __init__ |
def | __family__ |
def | __analogWrite__ |
def | analogWrite |
def | analogWriteFloat |
def | analogWriteVolt |
![]() | |
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 | |
![]() | |
chip | |
mode | |
bits | |
speed | |
![]() | |
busName | |
device | |
flag | |
fd | |
Definition at line 19 of file mcp492X.py.
def webiopi.devices.analog.mcp492X.MCP492X.__init__ | ( | self, | |
chip, | |||
channelCount, | |||
vref | |||
) |
Definition at line 20 of file mcp492X.py.
References webiopi.utils.types.toint().
def webiopi.devices.analog.mcp492X.MCP492X.__analogRead__ | ( | self, | |
channel, | |||
diff = False |
|||
) |
Definition at line 31 of file mcp492X.py.
References webiopi.devices.analog.mcp492X.MCP492X.values, and webiopi.devices.analog.mcp48XX.MCP48XX.values.
def webiopi.devices.analog.mcp492X.MCP492X.__analogWrite__ | ( | self, | |
channel, | |||
value | |||
) |
Definition at line 34 of file mcp492X.py.
References webiopi.devices.analog.mcp492X.MCP492X.buffered, webiopi.devices.analog.mcp48XX.MCP48XX.buffered, webiopi.devices.analog.mcp492X.MCP492X.gain, webiopi.devices.analog.mcp48XX.MCP48XX.gain, webiopi.devices.analog.mcp3424.MCP3424.gain, webiopi.devices.analog.mcp492X.MCP492X.shutdown, webiopi.devices.analog.mcp48XX.MCP48XX.shutdown, webiopi.devices.analog.mcp492X.MCP492X.values, webiopi.devices.analog.mcp48XX.MCP48XX.values, and webiopi.devices.bus.Bus.writeBytes().
def webiopi.devices.analog.mcp492X.MCP492X.__str__ | ( | self | ) |
Definition at line 28 of file mcp492X.py.
References webiopi.devices.analog.ADC._analogCount, and webiopi.devices.spi.SPI.chip.
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 |
Definition at line 26 of file mcp492X.py.
Referenced by webiopi.devices.analog.mcp492X.MCP492X.__analogRead__(), and webiopi.devices.analog.mcp492X.MCP492X.__analogWrite__().