SparkCoreDallasTemperature
SparkCoreDallasTemperature copied to clipboard
Can no longer import this library into the Particle ecosystem
Particle seem to have updated the way they construct their libraries, which has broken this libraries reference to the OneWire Library.
It's a real quick fix, just changing the reference to read: #elif defined(SPARK) or defined(STM32F10X_MD) #include "application.h" #include <OneWire.h> #endif
How can I change this in de Particle build Cloud IDE? The libraries seem read only.
I've filed PR for this https://github.com/tomdeboer/SparkCoreDallasTemperature/pull/13
Please merge and reupload to Particle Library repository
As a workaround, you can create the files locally and edit them, then remove the library from your project.
Please update these files (spark-dallas-temperature.h and spark-dallas-temperature.cpp) in the Particle Web IDE.
Also, the include statement in line 27 of the spark-dallas-temperature.h file does not work in the Particle WebIDE. It needs to be changed from: #include "../OneWire/OneWire.h" to " #include OneWire.h"
Bump. Please consider updating this library.
Is there any update with this? I am trying to run it and am getting the same issue.
I think this repo got abandoned - try a different library (e.g. DS18B20)