SparkCoreDallasTemperature icon indicating copy to clipboard operation
SparkCoreDallasTemperature copied to clipboard

Can no longer import this library into the Particle ecosystem

Open GordonRudman opened this issue 8 years ago • 7 comments

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

GordonRudman avatar Feb 28 '17 16:02 GordonRudman

How can I change this in de Particle build Cloud IDE? The libraries seem read only.

JahFyahh avatar Mar 19 '17 18:03 JahFyahh

I've filed PR for this https://github.com/tomdeboer/SparkCoreDallasTemperature/pull/13

Please merge and reupload to Particle Library repository

ScruffR avatar May 30 '17 19:05 ScruffR

As a workaround, you can create the files locally and edit them, then remove the library from your project.

Dids avatar Jun 11 '17 11:06 Dids

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"

frisbee91 avatar Oct 09 '17 13:10 frisbee91

Bump. Please consider updating this library.

Pwntus avatar May 15 '18 16:05 Pwntus

Is there any update with this? I am trying to run it and am getting the same issue.

CollegeStudent20 avatar May 30 '19 21:05 CollegeStudent20

I think this repo got abandoned - try a different library (e.g. DS18B20)

ScruffR avatar May 31 '19 08:05 ScruffR