DHT11 Sensor Library v2.0.0 for Arduino - Enhanced with Breaking Changes #7
dhrubasaha08
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
DHT11 Sensor Library v2.0.0 for Arduino
I'm proud to introduce version 2.0.0 of the DHT11 Sensor Library for Arduino. This release builds upon the initial version, bringing significant enhancements, optimizations, and new features. Please be aware that this version introduces breaking changes that could affect your existing setups.
What's New?
Breaking Change: I've modified the return types of
readTemperature()
andreadHumidity()
methods to align more closely with the DHT11's 1-degree resolution. You might need to adjust your code to maintain compatibility.Better Documentation: The library now includes clearer inline comments and a more detailed guide, making it more user-friendly and maintainable.
User-Centric Error Descriptions: With the new
getErrorString
method, it's easier than ever to interpret error codes with user-friendly messages.Refined Code Structure: I've undertaken a major refactor of the code, ensuring better robustness, efficiency, and maintainability.
Community Engagement: The new
CONTRIBUTING.md
andCODE_OF_CONDUCT.md
lay the groundwork for potential contributors and set clear community standards.Visualization Boost: Check out the new
ReadPlot
example, which provides a real-time visualization of temperature and humidity data via the Arduino Serial Plotter.Extended Compatibility: I've tested and confirmed the library's compatibility with NodeMCU ESP32 and ESP8266 platforms.
A Friendly Reminder:
Given the breaking changes in this release, I strongly recommend going through the updates and detailed documentation to ensure a smooth transition for your projects.
Your feedback has been invaluable in shaping this release, and I look forward to your continued insights. My goal is to make the DHT11 Arduino Library a go-to solution for temperature and humidity sensing in the Arduino world.
Thank you for your support and for being part of this journey. Here's to even more precise and efficient environmental readings!
This discussion was created from the release DHT11 Sensor Library v2.0.0 for Arduino - Enhanced with Breaking Changes.
Beta Was this translation helpful? Give feedback.
All reactions