-
Notifications
You must be signed in to change notification settings - Fork 231
DHTXX driver #235
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
DHTXX driver #235
Conversation
Add dht package that implements driver for dht thermometer
Add high and low frequency definition of counter Change all code to use counter instead of fixed type uint16
Add device class that performs update of the data if specified Add additional error outputs Add UpdatePolicy struct Add constructor with default and update settings
Add exported error type and error constants for more efficient handling Make unmanaged device struct to implement Device interface
Make Measurements function for dummy device no longer read measurements Now the function just returns stored measurements
Add configure function to managed device
Fix initialization flag for ReadMeasurements in dummy device
Add import comment Exclude DHT from the test package
|
Hello @pleomaxx3002 thank you for this contribution. Could you please add an example under the Thanks! |
Add smoke test for dht driver
|
Thanks for the example @pleomaxx3002 one last change I'd would like to ask can you please eliminate the camel case file names and rename them to all lower case? Thank you very much. |
|
Thank you for making all of the requested updates on this driver @pleomaxx3002 now squash/merging. Thanks again! |
dhtXX: add new driver for dht thermometer
Implementation of DHTXX driver based on AdaFruit's driver. #117
Tested with DHT11 and AdaFruit feather-m0