Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/robert-hh/SHT30

MicroPython driver for the SHT3x sensor.
https://github.com/robert-hh/SHT30

Last synced: 2 months ago
JSON representation

MicroPython driver for the SHT3x sensor.

Lists

README

        

# Readme

This is a copy of a repository of Roberto Sánchez at
https://github.com/rsc1975/micropython-sht30.
The scripts are only changed to adapt it for using machine.I2C for
the interface, and removing some obsolete characters.

Sample usage of the driver:

from machine import I2C, Pin
import sht30

i2c=I2C(0, sda=Pin(4), scl=Pin(5))
sht=sht30.SHT30(i2c=i2c, i2c_address=68)

sht.measure()

Note: The Apache license is that of the initial author. Personally
I prefer MIT.