Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 254 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 254 Bytes

SHT20

Humidity and Temperature Sensor

example

from machine import I2C
import sht20

sht = sht20.SHT20(I2C(1))
print(sht.humi(sht.humi_raw()))

From microbit/micropython Chinese community.
www.micropython.org.cn