MicroPython Driver for the Microchip MCP9808 Temperature Sensor
Project description
Introduction
MicroPython Driver for the Microchip MCP9808 Temperature Sensor
Installing with mip
To install using mpremote
mpremote mip install github:jposada202020/MicroPython_MCP9808
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_MCP9808
Installing Library Examples
If you want to install library examples:
mpremote mip install github:jposada202020/MicroPython_MCP9808/examples.json
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_MCP9808/examples.json
Installing from PyPI
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:
pip3 install micropython-mcp9808
To install system-wide (this may be required in some cases):
sudo pip3 install micropython-mcp9808
To install in a virtual environment in your current project:
mkdir project-name && cd project-name
python3 -m venv .venv
source .env/bin/activate
pip3 install micropython-mcp9808
Usage Example
Take a look at the examples directory
Documentation
API documentation for this library can be found on Read the Docs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for micropython-mcp9808-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 331b1d48debc4c7ed77165f2b63ef2e0c49688dce4f4d79ef40182c405bcdee9 |
|
MD5 | a1c34cc9ce59cd13c9326207c049ab75 |
|
BLAKE2b-256 | 7bb6fb75540bcfde30b15865fb457f44f35b4d55cbde95605dac08e8afa3da42 |
Hashes for micropython_mcp9808-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e60d3d3e1076ed96f52f8a60d117cbf253969c83031807a9112e4d797efa8f97 |
|
MD5 | 50c60b940a1de73b2b846e34cf41fa60 |
|
BLAKE2b-256 | e8a830aa70227225085ce30ac7c230d730f39b7ce8fa1f8b8709d8e27860dedb |