Public Member Functions | |
def | __init__ |
def | __str__ |
def | __getFunction__ |
def | __setFunction__ |
def | __digitalRead__ |
def | __portRead__ |
def | __digitalWrite__ |
def | __portWrite__ |
![]() | |
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 |
![]() | |
def | __init__ |
def | checkDigitalChannel |
def | checkDigitalValue |
def | checkDigitalBanks |
def | digitalCount |
def | bankCount |
def | __family__ |
def | __getFunction__ |
def | __setFunction__ |
def | __digitalRead__ |
def | __portRead__ |
def | __digitalWrite__ |
def | __portWrite__ |
def | getFunction |
def | getFunctionString |
def | setFunction |
def | setFunctionString |
def | digitalRead |
def | wildcard |
def | portRead |
def | digitalWrite |
def | portWrite |
Public Attributes | |
name | |
![]() | |
channel | |
slave | |
![]() | |
busName | |
device | |
flag | |
fd | |
![]() | |
digitalChannelCount | |
digitalBanksCount | |
Static Public Attributes | |
list | FUNCTIONS = [GPIOPort.IN for i in range(8)] |
![]() | |
int | IN = 0 |
int | OUT = 1 |
LOW = False | |
HIGH = True | |
Definition at line 19 of file pcf8574.py.
def webiopi.devices.digital.pcf8574.PCF8574.__init__ | ( | self, | |
slave = 0x20 |
|||
) |
Definition at line 22 of file pcf8574.py.
References webiopi.utils.types.toint().
def webiopi.devices.digital.pcf8574.PCF8574.__digitalRead__ | ( | self, | |
channel | |||
) |
Definition at line 47 of file pcf8574.py.
References webiopi.devices.bus.Bus.readByte().
def webiopi.devices.digital.pcf8574.PCF8574.__digitalWrite__ | ( | self, | |
channel, | |||
value | |||
) |
Definition at line 55 of file pcf8574.py.
References webiopi.devices.bus.Bus.readByte(), and webiopi.devices.bus.Bus.writeByte().
def webiopi.devices.digital.pcf8574.PCF8574.__getFunction__ | ( | self, | |
channel | |||
) |
Definition at line 39 of file pcf8574.py.
References webiopi.devices.digital.ds2408.DS2408.FUNCTIONS, and webiopi.devices.digital.pcf8574.PCF8574.FUNCTIONS.
def webiopi.devices.digital.pcf8574.PCF8574.__portRead__ | ( | self | ) |
Definition at line 52 of file pcf8574.py.
References webiopi.devices.bus.Bus.readByte().
def webiopi.devices.digital.pcf8574.PCF8574.__portWrite__ | ( | self, | |
value | |||
) |
Definition at line 64 of file pcf8574.py.
References webiopi.devices.bus.Bus.writeByte().
def webiopi.devices.digital.pcf8574.PCF8574.__setFunction__ | ( | self, | |
channel, | |||
value | |||
) |
Definition at line 42 of file pcf8574.py.
References webiopi.devices.digital.ds2408.DS2408.FUNCTIONS, webiopi.devices.digital.pcf8574.PCF8574.FUNCTIONS, webiopi.devices.digital.GPIOPort.IN, com.trouch.webiopi.client.devices.digital.GPIO.IN, webiopi.devices.digital.GPIOPort.OUT, and com.trouch.webiopi.client.devices.digital.GPIO.OUT.
def webiopi.devices.digital.pcf8574.PCF8574.__str__ | ( | self | ) |
Definition at line 36 of file pcf8574.py.
References webiopi.devices.analog.mcp3x0x.MCP3X0X.name, webiopi.devices.analog.mcp48XX.MCP48XX.name, webiopi.devices.digital.pcf8574.PCF8574.name, webiopi.devices.analog.ads1x1x.ADS1X1X.name, webiopi.devices.digital.mcp23XXX.MCP230XX.name, webiopi.devices.analog.mcp3424.MCP3424.name, webiopi.devices.digital.mcp23XXX.MCP23SXX.name, webiopi.devices.i2c.I2C.slave, and webiopi.devices.digital.mcp23XXX.MCP23SXX.slave.
|
static |
Definition at line 20 of file pcf8574.py.
Referenced by webiopi.devices.digital.pcf8574.PCF8574.__getFunction__(), and webiopi.devices.digital.pcf8574.PCF8574.__setFunction__().
webiopi.devices.digital.pcf8574.PCF8574.name |
Definition at line 25 of file pcf8574.py.
Referenced by webiopi.devices.sensor.onewiretemp.OneWireTemp.__str__(), webiopi.devices.digital.pcf8574.PCF8574.__str__(), and webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__str__().