Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
bmp180.jpg
demo.jpg
icon.png
main.ts
pxt.json
test.ts

README.md

BMP180

BMP180 数字气压传感器的 micro:bit makecode 软件包

Author: shaoziyang
Date: 2018.Jun

使用方法

打开 makecode 编辑器,在项目中选择添加软件包,然后在地址栏输入下面网址

https://github.com/microbit-makecode-packages/BMP180_cn

搜索后就可以添加并使用本软件包了。

I2C 地址

  • 0x77

API

  • function pressure()
    获取气压(hpa)

  • function temperature()
    获取温度(℃)

演示

授权方式

MIT

Copyright (c) 2018, microbit/micropython Chinese community

支持硬件

  • for PXT/microbit

From microbit/micropython Chinese community

You can’t perform that action at this time.