mpy-lib新增STTS751温度传感器驱动

MicroPython相关代码、库、软件、工具
回复
头像
shaoziyang
帖子: 3917
注册时间: 2019年 10月 21日 13:48

mpy-lib新增STTS751温度传感器驱动

#1

帖子 shaoziyang »

https://github.com/micropython-Chinese- ... or/STTS751

使用方法:

Code: Select all

from machine import I2C
import STTS751

i2c = I2C(1)
stt = STTS751.STTS751(i2c)
stt.temperature()

回复

  • 随机主题
    回复总数
    阅读次数
    最新文章