Public Member Functions | |
def | __init__ |
def | __str__ |
def | __family__ |
def | __command__ |
def | __analogRead__ |
def | __analogWrite__ |
![]() | |
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 |
![]() | |
def | __init__ |
def | __str__ |
def | readRegister |
def | readRegisters |
def | writeRegister |
def | writeRegisters |
![]() | |
def | __init__ |
def | open |
def | close |
def | read |
def | readBytes |
def | readByte |
def | write |
def | writeBytes |
def | writeByte |
Public Attributes | |
daValue | |
![]() | |
channel | |
slave | |
![]() | |
busName | |
device | |
flag | |
fd | |
Definition at line 20 of file pcf8591.py.
def webiopi.devices.analog.pcf8591.PCF8591.__init__ | ( | self, | |
slave = 0x48 , |
|||
vref = 3.3 |
|||
) |
Definition at line 21 of file pcf8591.py.
References webiopi.utils.types.toint().
def webiopi.devices.analog.pcf8591.PCF8591.__analogRead__ | ( | self, | |
channel, | |||
diff = False |
|||
) |
Definition at line 41 of file pcf8591.py.
References webiopi.devices.analog.pcf8591.PCF8591.__command__(), webiopi.devices.analog.mcp3x0x.MCP300X.__command__(), webiopi.devices.analog.mcp3x0x.MCP3002.__command__(), webiopi.devices.analog.mcp3x0x.MCP320X.__command__(), webiopi.devices.analog.pcf8591.PCF8591.daValue, webiopi.devices.bus.Bus.readBytes(), and webiopi.devices.bus.Bus.writeBytes().
def webiopi.devices.analog.pcf8591.PCF8591.__analogWrite__ | ( | self, | |
channel, | |||
value | |||
) |
Definition at line 49 of file pcf8591.py.
References webiopi.devices.analog.pcf8591.PCF8591.__command__(), webiopi.devices.analog.mcp3x0x.MCP300X.__command__(), webiopi.devices.analog.mcp3x0x.MCP3002.__command__(), webiopi.devices.analog.mcp3x0x.MCP320X.__command__(), webiopi.devices.analog.pcf8591.PCF8591.daValue, and webiopi.devices.bus.Bus.writeBytes().
def webiopi.devices.analog.pcf8591.PCF8591.__command__ | ( | self, | |
adChannel = 0 |
|||
) |
Definition at line 33 of file pcf8591.py.
References webiopi.devices.analog.pcf8591.PCF8591.daValue.
Referenced by webiopi.devices.analog.mcp3x0x.MCP3X0X.__analogRead__(), webiopi.devices.analog.pcf8591.PCF8591.__analogRead__(), and webiopi.devices.analog.pcf8591.PCF8591.__analogWrite__().
def webiopi.devices.analog.pcf8591.PCF8591.__family__ | ( | self | ) |
Definition at line 30 of file pcf8591.py.
def webiopi.devices.analog.pcf8591.PCF8591.__str__ | ( | self | ) |
Definition at line 27 of file pcf8591.py.
References webiopi.devices.i2c.I2C.slave, and webiopi.devices.digital.mcp23XXX.MCP23SXX.slave.
webiopi.devices.analog.pcf8591.PCF8591.daValue |
Definition at line 24 of file pcf8591.py.
Referenced by webiopi.devices.analog.pcf8591.PCF8591.__analogRead__(), webiopi.devices.analog.pcf8591.PCF8591.__analogWrite__(), and webiopi.devices.analog.pcf8591.PCF8591.__command__().