ST HTS221 Humidity and temperature Sensor I2C extension for makecode.
Author: shaoziyang
Date: 2019.Jul
basic.forever(function () {
serial.writeValue("T", HTS221.temperature(HTS221.HTS221_T_UNIT.C))
serial.writeValue("H", HTS221.humidity())
basic.pause(1000)
})
MIT
Copyright (c) 2018, microbit/micropython Chinese community
- for PXT/microbit