<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Dallas Temperature Sensor - compiling error]]></title><description><![CDATA[<p dir="auto">Hi All<br />
I am trying out the sketch for the Dallas Temperature sensor as per the MySensors tutorial.<br />
When I verify the sketch I get the error:</p>
<pre><code>In file included from C:\Users\WALLIS~1.MET\AppData\Local\Temp\arduino_770bd48bc56f53e10c3afe135558f414\DallasTemperatureSensor.ino:29:0:

\\metro-file\User-Folders\walliss0019\Documents\Arduino\libraries\DallasTemperature/DallasTemperature.h: In function 'void loop()':

DallasTemperature.h:249: error: 'int16_t DallasTemperature::millisToWaitForConversion(uint8_t)' is private

     int16_t millisToWaitForConversion(uint8_t);

             ^

DallasTemperatureSensor:79: error: within this context

   int16_t conversionTime = sensors.millisToWaitForConversion(sensors.getResolution());

</code></pre>
<p dir="auto">I see from another user he had the same problem from the "Comments"section (see user KRAX at <a href="http://www.mysensors.org/build/temp" rel="nofollow ugc">http://www.mysensors.org/build/temp</a>)</p>
<p dir="auto">MySensors came back saying that the error was due to a missing library "Sorry, had a missing DallasTemperature library. This has been fixed now. Please clone sketch again (with libraries)."</p>
<p dir="auto">My question is how do I do this?</p>
<p dir="auto">I have the Arduino 1.6.6 IDE. I have downloaded the latest sketch from the link provided etc but the same error persists.<br />
Can anyone help me resolve this?<br />
Cheers</p>
]]></description><link>https://forum.mysensors.org/topic/2434/dallas-temperature-sensor-compiling-error</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 23:10:21 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/2434.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 22 Nov 2015 15:09:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Wed, 23 Mar 2016 16:03:20 GMT]]></title><description><![CDATA[<p dir="auto">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.</p>
]]></description><link>https://forum.mysensors.org/post/35066</link><guid isPermaLink="true">https://forum.mysensors.org/post/35066</guid><dc:creator><![CDATA[Peter Mietlowski]]></dc:creator><pubDate>Wed, 23 Mar 2016 16:03:20 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Tue, 23 Feb 2016 12:35:28 GMT]]></title><description><![CDATA[<p dir="auto">Yes i have read the comments. Make two fresh installs - with the same error on both.</p>
<p dir="auto">Using Arduino 1.6.7 and the dev branch 2.0</p>
<p dir="auto">I'm using a network, means my Arduino Sketchbook directory is on a server.  Perhaps this is the problem....?</p>
]]></description><link>https://forum.mysensors.org/post/32352</link><guid isPermaLink="true">https://forum.mysensors.org/post/32352</guid><dc:creator><![CDATA[markush]]></dc:creator><pubDate>Tue, 23 Feb 2016 12:35:28 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Mon, 22 Feb 2016 21:37:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/markush" aria-label="Profile: markush">@<bdi>markush</bdi></a> - A few comments above is this one:</p>
<blockquote>
<p dir="auto">That did the trick, Thanx!!<br />
Copied Dallas directory from "mysensors master" to Arduino library location.<br />
Works with 1.6.6</p>
</blockquote>
<p dir="auto">That is in reply to Hek's response of:</p>
<blockquote>
<p dir="auto">You're probably using and old/different Dallas library. Sure you use the one provided in the MySensors bundle?</p>
</blockquote>
<p dir="auto">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.</p>
]]></description><link>https://forum.mysensors.org/post/32308</link><guid isPermaLink="true">https://forum.mysensors.org/post/32308</guid><dc:creator><![CDATA[Samuel235]]></dc:creator><pubDate>Mon, 22 Feb 2016 21:37:10 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Mon, 22 Feb 2016 21:15:38 GMT]]></title><description><![CDATA[<p dir="auto">Sorry guys - is this error fixed? Have the same problem after installing fresh dev branch 2.0</p>
<p dir="auto">The message on compiling is: is private ... within this context</p>
<p dir="auto">I have declard the section in DallasTemperature.h line 249 in public: and now it works?!?</p>
<p dir="auto">Pleasy try it - for me it works :+1:</p>
]]></description><link>https://forum.mysensors.org/post/32304</link><guid isPermaLink="true">https://forum.mysensors.org/post/32304</guid><dc:creator><![CDATA[markush]]></dc:creator><pubDate>Mon, 22 Feb 2016 21:15:38 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Mon, 28 Dec 2015 20:24:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/oded00" aria-label="Profile: oded00">@<bdi>oded00</bdi></a> Follow the instructions at <a href="http://www.mysensors.org/about/arduino#installing-the-sensor-libraries" rel="nofollow ugc">http://www.mysensors.org/about/arduino#installing-the-sensor-libraries</a><br />
Make sure you delete everything in the libraries folder before extracting the content of the MySensors library zip archive to delete any old versions.</p>
]]></description><link>https://forum.mysensors.org/post/27195</link><guid isPermaLink="true">https://forum.mysensors.org/post/27195</guid><dc:creator><![CDATA[mfalkvidd]]></dc:creator><pubDate>Mon, 28 Dec 2015 20:24:36 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Thu, 24 Dec 2015 10:28:14 GMT]]></title><description><![CDATA[<p dir="auto">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 ;)</p>
]]></description><link>https://forum.mysensors.org/post/26935</link><guid isPermaLink="true">https://forum.mysensors.org/post/26935</guid><dc:creator><![CDATA[Samuel235]]></dc:creator><pubDate>Thu, 24 Dec 2015 10:28:14 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Thu, 24 Dec 2015 08:40:47 GMT]]></title><description><![CDATA[<p dir="auto">That did the trick, Thanx!!<br />
Copied Dallas directory from "mysensors master" to Arduino library location.<br />
Works with 1.6.6</p>
]]></description><link>https://forum.mysensors.org/post/26932</link><guid isPermaLink="true">https://forum.mysensors.org/post/26932</guid><dc:creator><![CDATA[erpa]]></dc:creator><pubDate>Thu, 24 Dec 2015 08:40:47 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Wed, 23 Dec 2015 19:11:41 GMT]]></title><description><![CDATA[<p dir="auto">You're probably using and old/different Dallas library. Sure you use the one provided in the MySensors bundle?</p>
]]></description><link>https://forum.mysensors.org/post/26905</link><guid isPermaLink="true">https://forum.mysensors.org/post/26905</guid><dc:creator><![CDATA[hek]]></dc:creator><pubDate>Wed, 23 Dec 2015 19:11:41 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Wed, 23 Dec 2015 16:26:20 GMT]]></title><description><![CDATA[<p dir="auto">+1 for me too, same compiling error.<br />
Went from IDE 1.6.6 to 1.6.5 as suggested, but have the  same error.<br />
Can someone help?<br />
Thanks</p>
]]></description><link>https://forum.mysensors.org/post/26897</link><guid isPermaLink="true">https://forum.mysensors.org/post/26897</guid><dc:creator><![CDATA[erpa]]></dc:creator><pubDate>Wed, 23 Dec 2015 16:26:20 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Mon, 07 Dec 2015 14:15:28 GMT]]></title><description><![CDATA[<p dir="auto">I've been using the  Dallas libraries on Arduino 1.6.5 with no issues.  Try redownloading Arduino and mysensors api and install into a different directory.</p>
]]></description><link>https://forum.mysensors.org/post/25901</link><guid isPermaLink="true">https://forum.mysensors.org/post/25901</guid><dc:creator><![CDATA[gmccarthy]]></dc:creator><pubDate>Mon, 07 Dec 2015 14:15:28 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Thu, 26 Nov 2015 11:46:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ciscokid" aria-label="Profile: ciscokid">@<bdi>ciscokid</bdi></a> Just to let you know, I'm currently using the 1.5 and the development directory/branch and mine compiles perfectly fine. Try downloading the libraries again and clean install them.</p>
]]></description><link>https://forum.mysensors.org/post/25351</link><guid isPermaLink="true">https://forum.mysensors.org/post/25351</guid><dc:creator><![CDATA[Samuel235]]></dc:creator><pubDate>Thu, 26 Nov 2015 11:46:41 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Thu, 26 Nov 2015 09:49:20 GMT]]></title><description><![CDATA[<p dir="auto">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 :)  ?</p>
]]></description><link>https://forum.mysensors.org/post/25342</link><guid isPermaLink="true">https://forum.mysensors.org/post/25342</guid><dc:creator><![CDATA[ciscokid]]></dc:creator><pubDate>Thu, 26 Nov 2015 09:49:20 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Tue, 24 Nov 2015 07:55:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/malarcy" aria-label="Profile: malarcy">@<bdi>malarcy</bdi></a> LIkely bad form replying to my own message - but I found I can work around it by removing the "offending" couple of lines - the temp sensor works - but I suspect that if I chain more together then I might get timing errors and problems.</p>
<p dir="auto">I removed these lines</p>
<pre><code>// query conversion time and sleep until conversion completed
  int16_t conversionTime = sensors.millisToWaitForConversion(sensors.getResolution());
  // sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater)
  gw.sleep(conversionTime);```
</code></pre>
<p dir="auto">This got me working for testing and playing - but would like some help on the proper solution.</p>
]]></description><link>https://forum.mysensors.org/post/25151</link><guid isPermaLink="true">https://forum.mysensors.org/post/25151</guid><dc:creator><![CDATA[malarcy]]></dc:creator><pubDate>Tue, 24 Nov 2015 07:55:33 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Mon, 23 Nov 2015 22:35:35 GMT]]></title><description><![CDATA[<p dir="auto">not sure what the forum etiquette is but +1 or "me too" - same error on 1.6.6 ide - I have moved all the libraries etc from the latest mysensors download to the libraries area - other samples build ok - like binaryswitch.</p>
]]></description><link>https://forum.mysensors.org/post/25137</link><guid isPermaLink="true">https://forum.mysensors.org/post/25137</guid><dc:creator><![CDATA[malarcy]]></dc:creator><pubDate>Mon, 23 Nov 2015 22:35:35 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Sun, 22 Nov 2015 22:40:01 GMT]]></title><description><![CDATA[<p dir="auto">Thanks hek - downloaded the zip and did the install via zip libraries, however the problem persists. Can you let me know if there is a newer library i could download and point me in the right direction?<br />
Many thanks !</p>
]]></description><link>https://forum.mysensors.org/post/25055</link><guid isPermaLink="true">https://forum.mysensors.org/post/25055</guid><dc:creator><![CDATA[ciscokid]]></dc:creator><pubDate>Sun, 22 Nov 2015 22:40:01 GMT</pubDate></item><item><title><![CDATA[Reply to Dallas Temperature Sensor - compiling error on Sun, 22 Nov 2015 21:57:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ciscokid" aria-label="Profile: ciscokid">@<bdi>ciscokid</bdi></a> said:</p>
<blockquote>
<p dir="auto">My question is how do I do this?</p>
</blockquote>
<p dir="auto">That applied to the online codebender builder.</p>
<p dir="auto">When compiling locally on your computer you have to install the dallas library. It's included in the zip you downloaded.</p>
]]></description><link>https://forum.mysensors.org/post/25045</link><guid isPermaLink="true">https://forum.mysensors.org/post/25045</guid><dc:creator><![CDATA[hek]]></dc:creator><pubDate>Sun, 22 Nov 2015 21:57:07 GMT</pubDate></item></channel></rss>