Hellos, first of all thank you and sorry for my noobness on C++.
I’m doing a proyect with some DHT22 sensors, using the DHTlib from github (the one is recommended on this page). Everithing was right, placed on the lib folder and working perfectly for 5 months.
Suddenly, last week this library stops working. It reports:
In file included from ______
c:___\Arduino\libraries\arduino-DHT-master/DHT.h:38:1: error: expected ‘,’ or ‘;’ before ‘class’
Utilizando biblioteca arduino-DHT-master en carpeta:
exit status 1
Error compilación en tarjeta Arduino/Genuino Uno.
I’ve tried some libraries (this error is from another library), using the code as it need (changing the variable declaration and correcting the errors), but the error was excatly the same.
Also I tried to put some ‘,’ or ‘;’ just where it says it should be, but I think is not needed for a class declaration (for what I’ve seen in other libraries)
I assume the error had to be in the IDE, but had download different versions…but none works.
I attach some of this libraries, and dont post the code cos the error shows it compiles fine in everithing else.
Any idea what is going on? Thank you.
DHTlib.zip (27.4 KB)