Skip to content
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

Error during compile for ESP8266 #1

Open
red-gee opened this issue Sep 17, 2017 · 3 comments
Open

Error during compile for ESP8266 #1

red-gee opened this issue Sep 17, 2017 · 3 comments

Comments

@red-gee
Copy link

red-gee commented Sep 17, 2017

Error:

DHT_Unified_Sensor:46: error: 'class DHT' has no member named 'getHumidity'
int humidity = dht.getHumidity();
^
DHT_Unified_Sensor:47: error: 'class DHT' has no member named 'getTemperature'
int temperature = dht.getTemperature();
^
exit status 1
no matching function for call to 'DHT::DHT()'

maybe you use a different library for compiling. Can you give me some hints please.

@jeremysugnaux
Copy link

Hello,

I use that library and it works for me

https://github.com/markruys/arduino-DHT

Could you let me know if the plugin works for you? I have an issue, i wrote it on github on this page.

Thank you!

@red-gee
Copy link
Author

red-gee commented Sep 19, 2017 via email

@Druidus
Copy link

Druidus commented Nov 11, 2017

I run into the same issue
I had to delete other DHT-Librarys - after that your code compiled without any error

thx and greetings
Wolfgang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants