-
Notifications
You must be signed in to change notification settings - Fork 8
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
apps: Add PWM and DHT examples #70
base: master
Are you sure you want to change the base?
Conversation
66ab21c
to
d3c70f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About DHT: It's good to make it clear that it was tested with dht-11. In "apps / dht / prj.conf", dht-11 is set for the example. You can test with dht-22 too and leave commented on that same file. Leave it documented for which DHT works, which dht was tested, which dht the example was made for...
This patch includes an example that uses PWM to blink a led in a specified time interval. Signed-off-by: Luigi Luz <[email protected]>
apps/dht/src/dht.c
Outdated
|
||
/* | ||
* This example uses a DHT sensor to monitor ambient temperature and relative | ||
* humidity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explain here this example works with dht 11 and dht 22. The default is the dht 11 and the dht 22 can be used by changing the flags on prj.conf file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
This patch includes an example of how to monitor ambient temperature and relative humidity using a DHT series sensor. Signed-off-by: Luigi Luz <[email protected]>
This patch implements two new examples:
i) PWM example: uses PWM to blink a led in a specified time interval.
ii) DHT example: monitor ambient temperature and relative humidity using a DHT sensor.