Not sure if spark-dallas-temp is importing correctly

I am using the Make book, “Getting started with the Photon” and trying to do experiment #10, which uses a DS1820 temp sensor. I copy in the code, from photon book, I add the libraries, OneWire and spark-dallas-temperature, but when I try to verify code, I get this message:

lib/spark-dallas-temperature/src/spark-dallas-temperature.h:27:36: fatal error: …/OneWire/OneWire.h: No such file or directory
#include “…/OneWire/OneWire.h”

I don’t get it, because I can see that I have included OneWire.h. Any ideas?



Make sure your system firmware is >=0.5.3

Hi, I am at v0.6.2.

The lib still needs some updating and reuploading - there are some issues about this in the respective GitHub repo.

I had already filed some issues and a PR for this lib

Ok, thanks. It’s the first example in the Getting Started book that has you import libraries, so it’s one of those things that you think it must be something that you are doing.