{"id":19999213,"url":"https://github.com/mr-addict/dht11","last_synced_at":"2026-05-10T13:40:29.957Z","repository":{"id":107623896,"uuid":"578061931","full_name":"MR-Addict/dht11","owner":"MR-Addict","description":"Arduino DHT11 library","archived":false,"fork":false,"pushed_at":"2022-12-14T07:13:28.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-12T12:47:07.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MR-Addict.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-14T06:55:10.000Z","updated_at":"2023-05-01T03:11:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ffb2f01-fa0b-45a5-a8e3-97ff3ee0a527","html_url":"https://github.com/MR-Addict/dht11","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MR-Addict%2Fdht11","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MR-Addict%2Fdht11/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MR-Addict%2Fdht11/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MR-Addict%2Fdht11/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MR-Addict","download_url":"https://codeload.github.com/MR-Addict/dht11/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241439486,"owners_count":19963095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T05:11:05.876Z","updated_at":"2026-05-10T13:40:24.899Z","avatar_url":"https://github.com/MR-Addict.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arduino DHT11 Library\n\n## 1. Functions and Constants\n\n| Name        | Type      | Intro                                                  |\n| ----------- | --------- | ------------------------------------------------------ |\n| update()    | Function  | return true if update successfully,else will be false  |\n| temperature | Constants | this value will update after calling update() function |\n| humidity    | Constants | this value will update after calling update() function |\n\n## 2. Examples\n\n```cpp\n#include \u003cDHT11.h\u003e\n\nconst uint8_t dht11_pin = 2;\n\nDHT11 dht11(dht11_pin);\n\nvoid setup() {\n    Serial.begin(115200);\n}\n\nvoid loop() {\n    if (dht11.update()) {\n        Serial.print(\"DHT11 Okay,humidity is \");\n        Serial.print(dht11.humidity);\n        Serial.print(\", temperature is \");\n        Serial.println(dht11.temperature);\n    } else {\n        Serial.println(\"DHT11 ERROR!\");\n    }\n    delay(2000);\n}\n```\n\n\u003e Attention:\n\u003e\n\u003e - According to DHT11 datasheet, intervals between every sensor update should be at least **2 seconds**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-addict%2Fdht11","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-addict%2Fdht11","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-addict%2Fdht11/lists"}