aht20 类引用: from aht20 import Aht20 实例化参数: 名称 必填 类型 说明 addre 否 int i2c从设备地址,默认0x38 aht_dev=Aht20() 接口函数: l read() 读取寄存器值转化成湿度和温度 参数: 无。 返回值: 名称 类型 说明 (humidity,temperature) tuple 湿度,温度