0x77
-
Temperature()
get envirment temperature -
Pressure()
get Pressure -
Altitude()
Calculating absolute altitude
from microbit import *
import bmp180
b = bmp180.BMP180()
while True:
sleep(500)
b.get()
From microbit/micropython Chinese community.
www.micropython.org.cn