We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d1750 commit 669b01eCopy full SHA for 669b01e
README.md
@@ -27,7 +27,7 @@ Example:
27
```python
28
from bmp180 import BMP180
29
from machine import I2C, Pin # create an I2C bus object accordingly to the port you are using
30
-bus = I2C(1, I2C.MASTER, baudrate=100000) # on pyboard
+bus = I2C(1, baudrate=100000) # on pyboard
31
# bus = I2C(scl=Pin(4), sda=Pin(5), freq=100000) # on esp8266
32
bmp180 = BMP180(bus)
33
bmp180.oversample_sett = 2
0 commit comments