Add additional C++ Example for AM2302-Sensor#450
Conversation
|
@lurch Hi, added in short a cpp example for the AM2302-sensor. It makes the main file a little more cleaner :-) |
|
As I might have mentioned before, I only provide "(hopefully) helpful comments", it's not my decision whether to merge PRs in |
|
@lurch Thanks for the hint. :-) |
|
How is this different from the DHT22 code you've added? Or are you adding this as an example of how to use C++? |
|
@peterharperuk And maybee here could also the check placed to distinguish between DHT11 or DHT22. Best regards |
|
@peterharperuk So code is slightly improved. So in short:
|
|
@lurch can you please give a review for this PR. |
|
|
@lurch I thought so because you are mentioned as reviewer, sorry for the missunderstanding. |
|
I think GitHub just treats any comment on the code as a "review" 🤦 |
|
Added the following features:
Added screenshot how example looks: |

Add a C++ Example for AM2302-Sensor.