-
Notifications
You must be signed in to change notification settings - Fork 4.9k
增加"当前环境信息Environment" iot模块 #316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
HonestQiao
commented
Mar 9, 2025
- 增加了"当前环境信息Environment" iot模块,提供温度、湿度、亮度信息,以及温湿度偏移量设置,并使用使用Settings来记住Environment的温湿度偏移量
- 添加了AHT20温湿度模块适配支持。这是一款较为常见的温湿度模块,不少开发板板载。
- I2cDevice增加直接读写数据的接口,因为有的I2C设备,直接发送cmd或者cmd+参数,不是寄存器操作,例如AHT20
- 在DF-K10上,进行适配和功能验证。
添加DFS3设备板子K10
因为板载设备的温湿度传感器会受到运行设备的影响,所以提供了偏移量设置调用。
Owner
Contributor
Author
Owner
|
未超过2个开发板使用的组件 ,不要放再公共目录,应放在私有开发板目录下,保持其他代码的简洁。 |
Contributor
Author
|
Contributor
Author
|
已调整,将温湿度信息读取相关的代码,都移动到当前开发板下面了 |
Owner
|
这是K10这个板子自带的能力实现,还是需要额外增加配件实现的? |
Owner
|
由于长时间未回复,故关闭此PR。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.