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 first release Jun 18, 2018
LICENSE first release Jun 18, 2018
README.md fixed url address and image Jun 18, 2018
bmp180.jpg first release Jun 18, 2018
demo.jpg first release Jun 18, 2018
icon.png first release Jun 18, 2018
main.ts rename block Jun 21, 2018
pxt.json use Math.idiv instead / Jun 20, 2018
test.ts rename function in test.ts Jun 21, 2018

README.md

BMP180

makecode BMP180 Digital Pressure Sensor package for micro:bit

Author: shaoziyang
Date: 2018.Jun

usage

open your microbit makecode project, in Add Package, paste

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

to search box then search.

I2C Address

  • 0x77

API

  • function pressure()
    get pressure in hpa

  • function temperature()
    return temperature in Celsius.

Demo

License

MIT

Copyright (c) 2018, microbit/micropython Chinese community

Supported targets

  • for PXT/microbit

From microbit/micropython Chinese community

You can’t perform that action at this time.