LoPy4 - BMP180 - 'I2C' object has no attribute 'start'
Christian_M last edited by Christian_M
I'm new to coding with the pycom modules and tried to set up a BMP180 sensor with the I2C pins.
For that I used the bmp180.py library from github (https://github.com/micropython-IMU/micropython-bmp180) and a code example that i changed for a simple output of the values.
I'm using the LoPy4 and an Expansion Board 3.0 with the newest firmware on it.
When i try to run the code first i get the outpout from the i2c scan and then I get an error:
I2C setup scan  #the output from i2c.scan()
Traceback (most recent call last):
File "<stdin>", line 14, in <module>
File "bmp180.py", line 46, in __ init __
AttributeError: 'I2C' object has no attribute 'start'
I couldn't find any soulution what's wrong so I hope to find some help here.
Christian_M last edited by
@robert-hh It's working now with your driver.
Thank you very much!!!
robert-hh last edited by
svonbentzel last edited by
This post is deleted!