Introduction
MicroPython Driver fot the Sensirion Temperature and Humidity SHT40 and SHT45 Sensor
Installing with mip
To install using mpremote
mpremote mip install github:jposada202020/MicroPython_SHT4X
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_SHT4X
Installing Library Examples
If you want to install library examples:
mpremote mip install github:jposada202020/MicroPython_SHT4X/examples.json
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_SHT4X/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-sht4x
To install system-wide (this may be required in some cases):
sudo pip3 install micropython-sht4x
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-sht4x
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-sht4x 0.1.0
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-sht4x-0.1.0.tar.gz | 18.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| micropython_sht4x-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.9 kB
Release files / micropython-sht4x-0.1.0.tar.gz
| Download URL | micropython-sht4x-0.1.0.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4fe86a2920fb43074375c67ce7759cc31ae9d78a68c72e85902bed06fce53a3
|
|
BLAKE2b-256 checksum How to use checksums |
ff0166affc68bb4810ca0734e79eed78d0d7b2db101c96bb7f433e5c962be5ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / micropython_sht4x-0.1.0-py3-none-any.whl
| Download URL | micropython_sht4x-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6368db7167bb844d01c2e6b40094a3dddcea072c8eda69d04f96b3c41955af4e
|
|
BLAKE2b-256 checksum How to use checksums |
1e9991e0176558a99441753f201caaef834656c6d3bb56804e1a1a9785086254
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|