I just recently replicated the Particle_Alexa project from GitHub.
When I completed it about a month ago it worked flawlessly - great project! I am currently replicating it with another device, however the firmware is no longer compiling.
When I attempt to verify the given code through the Particle Build IDE, I receive the following error
DHT.cpp: In member function 'float DHT::readTemperature(bool)': DHT.cpp:27:22: error: 'data' was not declared in this scope _f = data; ^ DHT.cpp: In member function 'float DHT::readHumidity()': DHT.cpp:66:22: error: 'data' was not declared in this scope _f = data; ^ DHT.cpp: In member function 'bool DHT::read()': DHT.cpp:110:5: error: 'data' was not declared in this scope data = data = data = data = data = 0; ^ make: *** [../build/target/user/platform-6DHT.o] Error 1 make: *** [user] Error 2 Error: Could not compile. Please review your code.
I am under the impression that the online IDE may have changed slightly and this is why the code no longer compiles.
Any help would be appreciated. Thanks so much.