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.
Metadata
Release files for micropython-mcp9808 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| micropython-mcp9808-0.2.1.tar.gz | 18.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| micropython_mcp9808-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.9 kB
Release files / micropython-mcp9808-0.2.1.tar.gz
| Download URL | micropython-mcp9808-0.2.1.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
331b1d48debc4c7ed77165f2b63ef2e0c49688dce4f4d79ef40182c405bcdee9
|
|
BLAKE2b-256 checksum How to use checksums |
7bb6fb75540bcfde30b15865fb457f44f35b4d55cbde95605dac08e8afa3da42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / micropython_mcp9808-0.2.1-py3-none-any.whl
| Download URL | micropython_mcp9808-0.2.1-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e60d3d3e1076ed96f52f8a60d117cbf253969c83031807a9112e4d797efa8f97
|
|
BLAKE2b-256 checksum How to use checksums |
e8a830aa70227225085ce30ac7c230d730f39b7ce8fa1f8b8709d8e27860dedb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|