micropython_ahtx0
MicroPython driver for the AHT10 and AHT20 temperature and humidity sensors.
Example usage
import utime
from machine import Pin, I2C
import ahtx0
# I2C for the Wemos D1 Mini with ESP8266
i2c = I2C(scl=Pin(5), sda=Pin(4))
# Create the sensor object using I2C
sensor = ahtx0.AHT10(i2c)
while True:
print("\nTemperature: %0.2f C" % sensor.temperature)
print("Humidity: %0.2f %%" % sensor.relative_humidity)
utime.sleep(5)
Changelog
0.1.2
- fixed packaging
0.1.1
- fixed code style and typos
0.1.0
- initial release
Metadata
Release files for micropython-ahtx0 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| micropython-ahtx0-0.1.2.tar.gz | 3.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| micropython_ahtx0-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / micropython-ahtx0-0.1.2.tar.gz
| Download URL | micropython-ahtx0-0.1.2.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c64f80d112563d300b695de3932feabced94e8a3bbb1e9c473da0d4c0ef4db61
|
|
BLAKE2b-256 checksum How to use checksums |
9128da5317fbfdbaccc6a59b8269fbb652229ce15b1258c1ddb7c9cfb7a88107
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / micropython_ahtx0-0.1.2-py3-none-any.whl
| Download URL | micropython_ahtx0-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6fe3feacbae49527ec21242407122241a42c1ec61bbce2774a02a9c91bf41a83
|
|
BLAKE2b-256 checksum How to use checksums |
67ed3599562590e01fb58aa582b1a1b1a16a815477fb202533425a80faf4d516
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for micropython-ahtx0 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.