Skip to content

Commit 669b01e

Browse files
Update README.md
1 parent f4d1750 commit 669b01e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Example:
2727
```python
2828
from bmp180 import BMP180
2929
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
30+
bus = I2C(1, baudrate=100000) # on pyboard
3131
# bus = I2C(scl=Pin(4), sda=Pin(5), freq=100000) # on esp8266
3232
bmp180 = BMP180(bus)
3333
bmp180.oversample_sett = 2

0 commit comments

Comments
 (0)