From 3556d9160c3af8d849a1ce0cc5e18dc9533bb062 Mon Sep 17 00:00:00 2001 From: Tim Sweeney Date: Fri, 24 Dec 2021 13:45:39 -0500 Subject: [PATCH] Fix pin assignments for ESP8266 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6af89c2..63a94e8 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Example: from bmp180 import BMP180 from machine import I2C, Pin # create an I2C bus object accordingly to the port you are using bus = I2C(1, baudrate=100000) # on pyboard -# bus = I2C(scl=Pin(4), sda=Pin(5), freq=100000) # on esp8266 +# bus = I2C(scl=Pin(5), sda=Pin(4), freq=100000) # on esp8266 bmp180 = BMP180(bus) bmp180.oversample_sett = 2 bmp180.baseline = 101325