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

PietteTech DHT on ESP32 #759

Closed
SayedBaqer opened this issue Oct 22, 2017 · 4 comments
Closed

PietteTech DHT on ESP32 #759

SayedBaqer opened this issue Oct 22, 2017 · 4 comments

Comments

@SayedBaqer
Copy link

SayedBaqer commented Oct 22, 2017

Hi,
i am using PietteTech DHT library link ESP8266 without any problem, but when i try to use it on ESP32 it show error (PietteTech_DHT-8266-master\PietteTech_DHT.cpp:49:28: fatal error: user_interface.h: No such file or directory)
i try to disable this line from library, then i got again error (PietteTech_DHT-8266-master\PietteTech_DHT.cpp:84:21: error: expected initializer before 'PietteTech_DHT'

int ICACHE_RAM_ATTR PietteTech_DHT::acquire() {)
any body can help to get the library to work?

@copercini
Copy link
Contributor

Try remove the lines that include user_interface.h in PietteTech_DHT.cpp
and replace ICACHE_RAM_ATTR by IRAM_ATTR

@SayedBaqer
Copy link
Author

SayedBaqer commented Oct 22, 2017

thanks very much work fine, it will work normal or may it cause some problems while running?

@everslick
Copy link
Contributor

This issue is closed, because it looks as if it is not a bug or problem with the ESP32 Arduino core or its support libraries. For general API usage questions or help on specific coding challenges, please visit the arduino-esp32 Gitter channel. If you feel this issue was closed in error, reopen it and comment, why you think this is a bug in the Arduino-Core.

@ferlanjo
Copy link

ferlanjo commented Apr 7, 2021

This occurrence this error in the compilation, has anyone had this problem?

C:\Program Files (x86)\Arduino\libraries\PietteTech_DHT-master/PietteTech_DHT.h:31:25: fatal error: application.h: No such file or directory

compilation terminated.

exit status 1
Error compiling for board ESP32 Dev Module.

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

4 participants