Skip to content

Miceuz/sht25-micropython

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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)

About

Micropython implementation of API of SHT25 Humidity and Temperature Sensor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published