<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=47&amp;t=5857&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2019-03-01T14:16:41+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=47&amp;t=5857&amp;mode</id>
<entry>
<author><name><![CDATA[Janeczek]]></name></author>
<updated>2014-02-10T15:28:06+01:00</updated>
<published>2014-02-10T15:28:06+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=69671#p69671</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=69671#p69671"/>
<title type="html"><![CDATA[Re: DS18B20 problem przy kompilacji]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=69671#p69671"><![CDATA[
Witam,dziękuje za zainteresowanie tematem.Problem był w samej bibliotece oneWrite<br />biblioteka z <a href="http://www.pjrc.com/teensy/td_libs_OneWire.html"  class="postlink">tej strony</a>działa poprawnie. <img src="https://forum.atnel.pl/images/smilies/icon_e_wink.gif" alt=";)" title="Puszcza oko" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2516">Janeczek</a> — 10 lut 2014, o 15:28</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[marcint31]]></name></author>
<updated>2014-02-09T20:14:34+01:00</updated>
<published>2014-02-09T20:14:34+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=69521#p69521</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=69521#p69521"/>
<title type="html"><![CDATA[Re: DS18B20 problem przy kompilacji]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=69521#p69521"><![CDATA[
Po tym:<br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />C:\Users\Janusz\Documents\Arduino\libraries<strong>\OneWire\OneWire.</strong><br /></div><br /><br />wnioskuję, że biblioteka OneWire jest w złej lokalizacji.<br />Powinna być w:<br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />C:\Users\Janusz\Documents\Arduino\<strong>libraries\OneWire</strong><br /></div><br /><br />Spróbuj z tymi bibliotekami:<br /><br /><a href="http://download.milesburton.com/Arduino/MaximTemperature/DallasTemperature_372Beta.zip"  class="postlink">Dallas</a><br /><br /><a href="http://www.pjrc.com/teensy/arduino_libraries/OneWire.zip"  class="postlink">OneWire</a><br /><br />Twój program kompiluje się z tymi bibliotekami.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2208">marcint31</a> — 9 lut 2014, o 20:14</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Nefarious19]]></name></author>
<updated>2019-03-01T14:16:41+01:00</updated>
<published>2014-02-07T14:38:54+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=68980#p68980</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=68980#p68980"/>
<title type="html"><![CDATA[Re: DS18B20 problem przy kompilacji]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=68980#p68980"><![CDATA[
.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2500">Nefarious19</a> — 7 lut 2014, o 14:38</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Janeczek]]></name></author>
<updated>2014-02-06T16:22:33+01:00</updated>
<published>2014-02-06T16:22:33+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=68786#p68786</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=68786#p68786"/>
<title type="html"><![CDATA[Re: DS18B20 problem przy kompilacji]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=68786#p68786"><![CDATA[
Tak,odinstalowałem program ,zainstalowałem ponownie program +biblioteki i cały czas to samo.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2516">Janeczek</a> — 6 lut 2014, o 16:22</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[SunRiver]]></name></author>
<updated>2014-02-06T16:18:35+01:00</updated>
<published>2014-02-06T16:18:35+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=68782#p68782</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=68782#p68782"/>
<title type="html"><![CDATA[Re: DS18B20 problem przy kompilacji]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=68782#p68782"><![CDATA[
wygląda na to ze ci bibliotek nie widzi <br />na pewno masz je wgrane ??<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=58">SunRiver</a> — 6 lut 2014, o 16:18</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Janeczek]]></name></author>
<updated>2014-02-06T16:16:38+01:00</updated>
<published>2014-02-06T16:16:38+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=68781#p68781</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=68781#p68781"/>
<title type="html"><![CDATA[DS18B20 problem przy kompilacji]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5857&amp;p=68781#p68781"><![CDATA[
Witam,mam problem z kompilacja nawet przykładowego programu do obsługi tego czujnika.<br />Może miał ktoś podobny problem.<br /><br />Błędy kompilatora:<br />[syntax]C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:66:24: error: WConstants.h: No such file or directory<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp: In constructor 'OneWire::OneWire(uint8_t)':<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:75: error: 'digitalPinToPort' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:76: error: 'digitalPinToBitMask' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:77: error: 'portOutputRegister' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:78: error: 'portInputRegister' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:79: error: 'portModeRegister' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp: In member function 'uint8_t OneWire::reset()':<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:97: error: 'INPUT' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:97: error: 'pinMode' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:100: error: 'delayMicroseconds' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:101: error: 'digitalRead' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:103: error: 'digitalWrite' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:104: error: 'OUTPUT' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:105: error: 'delayMicroseconds' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp: In member function 'void OneWire::write_bit(uint8_t)':<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:125: error: 'delayMicroseconds' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp: In member function 'uint8_t OneWire::read_bit()':<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:140: error: 'delayMicroseconds' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp: In member function 'void OneWire::write(uint8_t, uint8_t)':<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:163: error: 'INPUT' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:163: error: 'pinMode' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:164: error: 'digitalWrite' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp: In member function 'void OneWire::depower()':<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:203: error: 'INPUT' was not declared in this scope<br />C:\Users\Janusz\Documents\Arduino\libraries\OneWire\OneWire.cpp:203: error: 'pinMode' was not declared in this[/syntax]<br /><br />Tak wygląda kod:<br />[syntax=cpp]#include &lt;OneWire.h&gt;<br />#include &lt;DallasTemperature.h&gt;<br /><br />// Data wire is plugged into pin 7 on the Arduino<br />#define ONE_WIRE_BUS 7<br /><br />// Setup a oneWire instance to communicate with ANY OneWire devices<br />OneWire oneWire(ONE_WIRE_BUS);<br /><br />// Set oneWire reference to Dallas Temperature sensor.<br />DallasTemperature sensors(&amp;oneWire);<br /><br />void setup(void)<br />{<br />  Serial.begin(9600);<br />  sensors.begin();<br />}<br />void loop(void)<br />{<br />  sensors.requestTemperatures();<br />  Serial.println(&quot;&quot;);<br />  delay(500);<br />  Serial.print(&quot;Sensor 1: &quot;);<br />  Serial.println(sensors.getTempCByIndex(0)); <br />  <br />}[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2516">Janeczek</a> — 6 lut 2014, o 16:16</p><hr />
]]></content>
</entry>
</feed>