The Particle Electron Web IDE will not compile the spark-dallas-temperature.cpp file as is. It generates an error on the NaN constant.
In order for it to work, I had to add #include <math.h> to the .cpp file. (It was a frustrating ordeal to figure this out.)
Anyway, please add the #include <math.h> to future builds for this file
The Particle Electron Web IDE will not compile the spark-dallas-temperature.cpp file as is. It generates an error on the NaN constant.
In order for it to work, I had to add #include <math.h> to the .cpp file. (It was a frustrating ordeal to figure this out.)
Anyway, please add the #include <math.h> to future builds for this file