Public Member Functions | |
def | __init__ |
def | __str__ |
def | __analogRead__ |
![]() | |
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 | |
name | |
![]() | |
channel | |
slave | |
![]() | |
busName | |
device | |
flag | |
fd | |
Static Public Attributes | |
int | VALUE = 0x00 |
int | CONFIG = 0x01 |
int | LO_THRESH = 0x02 |
int | HI_THRESH = 0x03 |
int | CONFIG_STATUS_MASK = 0x80 |
int | CONFIG_CHANNEL_MASK = 0x70 |
int | CONFIG_GAIN_MASK = 0x0E |
int | CONFIG_MODE_MASK = 0x01 |
Private Attributes | |
_analogMax | |
Definition at line 21 of file ads1x1x.py.
def webiopi.devices.analog.ads1x1x.ADS1X1X.__init__ | ( | self, | |
slave, | |||
channelCount, | |||
resolution, | |||
name | |||
) |
Definition at line 32 of file ads1x1x.py.
References webiopi.utils.types.toint().
def webiopi.devices.analog.ads1x1x.ADS1X1X.__analogRead__ | ( | self, | |
channel, | |||
diff = False |
|||
) |
Definition at line 53 of file ads1x1x.py.
References webiopi.devices.analog.ADC._analogResolution, webiopi.devices.analog.ads1x1x.ADS1X1X.CONFIG, webiopi.devices.analog.ads1x1x.ADS1X1X.CONFIG_CHANNEL_MASK, webiopi.devices.i2c.I2C.readRegisters(), webiopi.utils.types.signInteger(), webiopi.devices.analog.ads1x1x.ADS1X1X.VALUE, and webiopi.devices.i2c.I2C.writeRegisters().
def webiopi.devices.analog.ads1x1x.ADS1X1X.__str__ | ( | self | ) |
Definition at line 50 of file ads1x1x.py.
References webiopi.devices.analog.ads1x1x.ADS1X1X.name, webiopi.devices.i2c.I2C.slave, and webiopi.devices.digital.mcp23XXX.MCP23SXX.slave.
|
private |
Definition at line 35 of file ads1x1x.py.
|
static |
Definition at line 23 of file ads1x1x.py.
Referenced by webiopi.devices.analog.ads1x1x.ADS1X1X.__analogRead__().
|
static |
Definition at line 28 of file ads1x1x.py.
Referenced by webiopi.devices.analog.ads1x1x.ADS1X1X.__analogRead__().
|
static |
Definition at line 29 of file ads1x1x.py.
|
static |
Definition at line 30 of file ads1x1x.py.
|
static |
Definition at line 27 of file ads1x1x.py.
|
static |
Definition at line 25 of file ads1x1x.py.
|
static |
Definition at line 24 of file ads1x1x.py.
webiopi.devices.analog.ads1x1x.ADS1X1X.name |
Definition at line 36 of file ads1x1x.py.
Referenced by webiopi.devices.sensor.onewiretemp.OneWireTemp.__str__(), webiopi.devices.analog.mcp3x0x.MCP3X0X.__str__(), webiopi.devices.analog.mcp48XX.MCP48XX.__str__(), webiopi.devices.digital.pcf8574.PCF8574.__str__(), webiopi.devices.sensor.tslXXXX.TSL_LIGHT_X.__str__(), webiopi.devices.analog.ads1x1x.ADS1X1X.__str__(), webiopi.devices.digital.mcp23XXX.MCP230XX.__str__(), and webiopi.devices.digital.mcp23XXX.MCP23SXX.__str__().
|
static |
Definition at line 22 of file ads1x1x.py.
Referenced by webiopi.devices.analog.ads1x1x.ADS1X1X.__analogRead__().