micropython-bmp180 icon indicating copy to clipboard operation
micropython-bmp180 copied to clipboard

Remove call to i2c.start()

Open dquadros opened this issue 2 years ago • 1 comments

As far as I can see in the docs, the start() method has always been a "primitive method" that sends a start bit and it is not needed in the context (the rest of the code uses "memory operation" methods that will send start bits as necessary).

Since v1.10 the start method is only available on software I2C, so you will get an error if you use this library with the current version of MicroPython using hardware I2C (probably the most common use).

dquadros avatar Jun 11 '23 23:06 dquadros

Use this lib - it works OK on ESP32:

https://github.com/robert-hh/BMP085_BMP180

gitcnd avatar Jul 30 '24 13:07 gitcnd