Skip to content

Commit

Permalink
Update bmp280.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alaub81 authored Nov 3, 2021
1 parent 2cd5ed0 commit 918b29f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bmp280.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
import adafruit_bmp280
import time

i2c = busio.I2C(board.D27, board.D17)
#i2c = busio.I2C(board.D27, board.D17)
i2c = busio.I2C(board.SCL, board.SDA)
bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x76)

print("Temperature: %0.1f C" % bmp280.temperature)
Expand Down

0 comments on commit 918b29f

Please sign in to comment.