Skip to content
Micropython implementation of API of SHT25 Humidity and Temperature Sensor
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
flash-micropython.sh
main.py
sht25.py
transfer_files.py

README.md

sht25-micropython

Micropython implementation of API of SHT25 Humidity and Temperature Sensor

Usage

import time
from machine import I2C
from machine import Pin
from sht25 import SHT25

sensor = SHT25(I2C(scl=Pin(5), sda=Pin(4)))

while True:
	print(str(sensor.getTemperature()) + ", " + str(sensor.getHumidity()))
	time.sleep(1)
You can’t perform that action at this time.