ADS1000 series I2C Analog-to-Digital Converter

Supported interfaces

Python Constructor

Use following constructors if you want to create some ADS1000 from your python scripts.

Parameters :

from webiopi.devices.analog import ADS1014, ADS1015, ADS1114, ADS1115

# Setup a ADS1015 on I2C slave 0x48 (default)
ads0 = ADS1015()
# or
ads0 = ADS1015(slave=0x48)

# Setup a ADS1015 on I2C slave 0x49
ads1 = ADS1015(slave=0x49)

Configuration File syntax

Use following syntax to setup some ADS1000 in the webiopi service/command configuration file.

[DEVICES]
# Setup a ADS1015 on I2C slave 0x48 (default)
ads0 = ADS1015
# or
ads0 = ADS1015 slave:0x48

# Setup a ADS1015 on I2C slave 0x49
ads1 = ADS1015 slave:0x49