Hello i am using a custom raspberry pi shield on my raspberry pi 4. Currently Im testing only 1 shield with 4 ads1115. In python im using adafruits library to read the data and it can only sample 50x a seconds on a single channel which is kinda slow from what im expecting. So how do i change the i2c address and speed? As of now i can only pull data from the first ADS, so i would also like to change to the second ads.
import board import busio i2c = busio.I2C(board.SCL, board.SDA) import adafruit_ads1x15.ads1115 as ADS from adafruit_ads1x15.analog_in import AnalogIn ads = ADS.ADS1115(i2c) chan = AnalogIn(ads, ADS.P0, ADS.P1) chan2 = AnalogIn(ads, ADS.P2, ADS.P3) import time arrays =  t_end = time.time() + 1 while time.time() < t_end: arrays.append((chan.value, chan.voltage)) for x in arrays: print(x) print(len(arrays))