from machine import Pin, I2C
from time import sleep_ms
from bmp180 import BMP180
i2c = I2C(0, sda = Pin(20), scl = Pin(21), freq = 40000) #i2c detains
bmp = BMP180(i2c)
bmp.oversample = 2
bmp.sealevel = 1010.5
# Read the values
# write code to do this.Loading
bmp180
bmp180