microbit's BMP280 drive

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
Post Reply
shaoziyang
Posts: 195
Joined: Sun Apr 17, 2016 1:55 pm

microbit's BMP280 drive

Post by shaoziyang » Tue Feb 06, 2018 12:08 pm

https://github.com/shaoziyang/mpy-lib/t ... sor/bmp280

Code: Select all

from machine import I2C
import time

import bmp280

b = bmp280.BMP280(I2C(1))

while True:
    time.sleep_ms(500)
    b.get()
bmp280.jpg
bmp280.jpg (37.63 KiB) Viewed 1965 times
bmp280demo.jpg
bmp280demo.jpg (73.81 KiB) Viewed 1965 times

User avatar
tuupola
Posts: 46
Joined: Sun Sep 17, 2017 12:10 am

Re: microbit's BMP280 drive

Post by tuupola » Tue Feb 06, 2018 12:28 pm

Looks awesome! Which license does the code use?

shaoziyang
Posts: 195
Joined: Sun Apr 17, 2016 1:55 pm

Re: microbit's BMP280 drive

Post by shaoziyang » Tue Feb 06, 2018 1:28 pm

mpy-libs use MIT license, you may use it free.

User avatar
mcauser
Posts: 310
Joined: Mon Jun 15, 2015 8:03 am

Re: microbit's BMP280 drive

Post by mcauser » Thu Feb 08, 2018 3:16 am

Which edge connector breakout board is that?

shaoziyang
Posts: 195
Joined: Sun Apr 17, 2016 1:55 pm

Re: microbit's BMP280 drive

Post by shaoziyang » Sun Feb 11, 2018 12:52 pm

mcauser wrote:
Thu Feb 08, 2018 3:16 am
Which edge connector breakout board is that?
This edge connector breakout board is made by myself, it is small and easy to use, with color pin header.

Taobao link
1.jpg
1.jpg (118.91 KiB) Viewed 516 times
2.jpg
2.jpg (104.21 KiB) Viewed 516 times
3.jpg
3.jpg (54.42 KiB) Viewed 516 times

Post Reply