Skip to content

Conversation

@HonestQiao
Copy link
Contributor

  1. 增加了"当前环境信息Environment" iot模块,提供温度、湿度、亮度信息,以及温湿度偏移量设置,并使用使用Settings来记住Environment的温湿度偏移量
  2. 添加了AHT20温湿度模块适配支持。这是一款较为常见的温湿度模块,不少开发板板载。
  3. I2cDevice增加直接读写数据的接口,因为有的I2C设备,直接发送cmd或者cmd+参数,不是寄存器操作,例如AHT20
  4. 在DF-K10上,进行适配和功能验证。

@78
Copy link
Owner

78 commented Mar 11, 2025

请参考: https://zh-google-styleguide.readthedocs.io/en/latest/google-cpp-styleguide/ 调整代码风格。

@HonestQiao
Copy link
Contributor Author

请参考: https://zh-google-styleguide.readthedocs.io/en/latest/google-cpp-styleguide/ 调整代码风格。

已调整

@78
Copy link
Owner

78 commented Mar 19, 2025

未超过2个开发板使用的组件 ,不要放再公共目录,应放在私有开发板目录下,保持其他代码的简洁。

@HonestQiao
Copy link
Contributor Author

未超过2个开发板使用的组件 ,不要放再公共目录,应放在私有开发板目录下,保持其他代码的简洁。
OK,那我调整一下。

@HonestQiao
Copy link
Contributor Author

已调整,将温湿度信息读取相关的代码,都移动到当前开发板下面了

@78
Copy link
Owner

78 commented Apr 12, 2025

这是K10这个板子自带的能力实现,还是需要额外增加配件实现的?

@78
Copy link
Owner

78 commented May 20, 2025

由于长时间未回复,故关闭此PR。

@78 78 closed this May 20, 2025
@HonestQiao HonestQiao deleted the df-k10 branch May 27, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants