adafruit-circuitpython-mpl115a2-CircuitPython driver for MPL115A2 I2C Barometric Pressure/Temperature Sensor.-Adafruit Industries
发布:2020-12-21 20:42:31.401235
做者:Adafruit Industries
做者邮箱:circuitpython@adafruit.com
首页:https://github.com/adafruit/AdafruitCircuitPythonMPL115A2
文档:None
下载连接
Introduction
.. image:: https://readthedocs.org/projects/adafruit-circuitpython-mpl115a2/badge/?version=latest :target: https://circuitpython.readthedocs.io/projects/mpl115a2/en/latest/ :alt: Documentation Statuspython
.. image:: https://img.shields.io/discord/327254708534116352.svg :target: https://adafru.it/discord :alt: Discordgit
.. image:: https://github.com/adafruit/AdafruitCircuitPythonMPL115A2/workflows/Build%20CI/badge.svg :target: https://github.com/adafruit/AdafruitCircuitPythonMPL115A2/actions/ :alt: Build Statusgithub
CircuitPython driver for MPL115A2 I2C Barometric Pressure/Temperature Sensor.shell
Dependencies
This driver depends on:ide
Adafruit CircuitPython <https://github.com/adafruit/circuitpython>
_Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>
_
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>
_.svg
Installing from PyPI
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI <https://pypi.org/project/adafruit-circuitpython-mpl115a2/>
_. To install for current user:ui
.. code-block:: shellthis
pip3 install adafruit-circuitpython-mpl115a2
To install system-wide (this may be required in some cases):spa
.. code-block:: shell.net
sudo pip3 install adafruit-circuitpython-mpl115a2
To install in a virtual environment in your current project:
.. code-block:: shell
mkdir project-name && cd project-name python3 -m venv .env source .env/bin/activate pip3 install adafruit-circuitpython-mpl115a2
Usage Example
See usage examples in the examples folder.
Contributing
Contributions are welcome! Please read our Code of Conduct <https://github.com/adafruit/Adafruit_CircuitPython_MPL115A2/blob/master/CODE_OF_CONDUCT.md>
_ before contributing to help this project stay welcoming.
Documentation
For information on building library documentation, please check out this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>
_.
Copy from pypi.org
查询时间:69.914ms
渲染时间:70.047ms
本文同步分享在 博客“zhenruyan”(other)。
若有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一块儿分享。