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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70d238db55646348fc409c6068a98374410273a8b849aba98ca809a27a11d1c9 |
|
MD5 | 769250ad7c0efd919a97fb812f4520b9 |
|
BLAKE2b-256 | d9c3acf70243f167960c218acaf059db2289a59ce1b4fb1de53bcd280e4fc834 |
Hashes for micropython_mcp9808-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 125e7e7dfb1f47416b2d2c336e7f09fbff83f2a570199b1ed4849dad33d8de2f |
|
MD5 | 37b6a1b4d13b7aa50401339ee9921b44 |
|
BLAKE2b-256 | 6e23cd7f914e9b9d357b6dc8604f3811bb44e8296772b97905df198cf9c868b0 |