Closed
Description
Hello Adafruit support,
I would like to report a compatibility problem when using both Adafruit Blinka (installed through automated install steps on this link) with ADS1x15 library. It seems the problem is related to the installation of RPi.GPIO pip package after installing the ADS1x15 library via pip3 install adafruit-circuitpython-ads1x15
.
I have been reading and the Adafruit Blinka library must remove RPi.GPIO and use instead rpi-lgpio.
When I run the blinkatest.py provided in the Adafruit Blinka link and after installing the Adafruit ADS1x15 library
import board
import digitalio
import busio
print("Hello, blinka!")
# Try to create a Digital input
pin = digitalio.DigitalInOut(board.D4)
print("Digital IO ok!")
# Try to create an I2C device
i2c = busio.I2C(board.SCL, board.SDA)
print("I2C ok!")
# Try to create an SPI device
spi = busio.SPI(board.SCLK, board.MOSI, board.MISO)
print("SPI ok!")
print("done!")
I get the following error
RuntimeError: Cannot determine SOC peripheral base address
Please help us fix this problem so we can both use digital input and outputs of the RPI5 with the ADS1x15 module.
Thanks in advance,
David
Metadata
Metadata
Assignees
Labels
No labels