Dallas Temperature Sensor - compiling error
-
Just bumping this thread - would really like to have a definitive answer. There must be some clever guys out there that can shed some light :) ?
-
One of the first steps in the troubleshooting process, that i have learnt recently, is exactly this. Making sure the libs are up to date, or even better, not conflicting/co-operating. Hek is the master at pointing out this to us all here ;)
-
@oded00 Follow the instructions at http://www.mysensors.org/about/arduino#installing-the-sensor-libraries
Make sure you delete everything in the libraries folder before extracting the content of the MySensors library zip archive to delete any old versions. -
Sorry guys - is this error fixed? Have the same problem after installing fresh dev branch 2.0
The message on compiling is: is private ... within this context
I have declard the section in DallasTemperature.h line 249 in public: and now it works?!?
Pleasy try it - for me it works :+1:
-
That did the trick, Thanx!!
Copied Dallas directory from "mysensors master" to Arduino library location.
Works with 1.6.6@markush - A few comments above is this one:
That did the trick, Thanx!!
Copied Dallas directory from "mysensors master" to Arduino library location.
Works with 1.6.6That is in reply to Hek's response of:
You're probably using and old/different Dallas library. Sure you use the one provided in the MySensors bundle?
So firstly, I would double check that you have the correct Dallas Lib, the one that is in the MySensors bundle. Also, as mfalkvidd says above your comment, make sure you have extracted the Libs from MySensors correctly.
-
I had the same error and it turned out that for some reason it was finding the library in a folder in My Documents and also in the Arduino install folder. I renamed the copy in My Documents (I don't remember putting it there so maybe it was older version?) and all was well.