<?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=8837&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2014-10-16T09:01:27+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=47&amp;t=8837&amp;mode</id>
<entry>
<author><name><![CDATA[hugomcm]]></name></author>
<updated>2014-10-16T09:01:27+01:00</updated>
<published>2014-10-16T09:01:27+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99272#p99272</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99272#p99272"/>
<title type="html"><![CDATA[Re: Prośba o sprawdzenie kodu.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99272#p99272"><![CDATA[
Zmienione, pomoze ktoś z tymi timerami ?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=3050">hugomcm</a> — 16 paź 2014, o 09:01</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hugomcm]]></name></author>
<updated>2014-10-15T23:34:24+01:00</updated>
<published>2014-10-15T23:34:24+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99253#p99253</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99253#p99253"/>
<title type="html"><![CDATA[Re: Prośba o sprawdzenie kodu.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99253#p99253"><![CDATA[
mógłby mi ktoś podpiąć inny timer w biblotece którejś z powyższych ?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=3050">hugomcm</a> — 15 paź 2014, o 23:34</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rafalstauer]]></name></author>
<updated>2014-10-15T22:52:53+01:00</updated>
<published>2014-10-15T22:52:53+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99241#p99241</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99241#p99241"/>
<title type="html"><![CDATA[Re: Prośba o sprawdzenie kodu.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99241#p99241"><![CDATA[
Tak jak kolega wyżej pisze. Na googlach sporo postów że to się gryzie.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=5602">rafalstauer</a> — 15 paź 2014, o 22:52</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xor]]></name></author>
<updated>2014-10-15T22:41:54+01:00</updated>
<published>2014-10-15T22:41:54+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99239#p99239</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99239#p99239"/>
<title type="html"><![CDATA[Re: Prośba o sprawdzenie kodu.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99239#p99239"><![CDATA[
Na początek zapoznaj się z tym: <a href="http://forum.atnel.pl/topic7402.html"  class="postlink">http://forum.atnel.pl/topic7402.html</a><br /><br />Obie te biblioteki korzystają z tego samego timera niestety więc nie mogą działać razem. Możesz któraś z tych biblio zamienić na inną, np. zamiast Servo zastosować ServoTimer2 (trzeba dosyć intensywnie przegrzebać googla żeby ją znaleźć) albo inną (jeśli istnieje). Autor VirtualWire napisał nową bibliotekę (nie pamiętam nazwy), może by się nie gryzła z Servo (nie wiem, nie znam)?<br />Można też przerobić którąś z tych bibliotek na inny timer (VirtualWire jest chyba łatwiejsza do przerobienia).<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1774">xor</a> — 15 paź 2014, o 22:41</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hugomcm]]></name></author>
<updated>2014-10-15T22:41:05+01:00</updated>
<published>2014-10-15T22:41:05+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99238#p99238</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99238#p99238"/>
<title type="html"><![CDATA[Re: Prośba o sprawdzenie kodu.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99238#p99238"><![CDATA[
dalej to samo <img src="https://forum.atnel.pl/images/smilies/icon_e_sad.gif" alt=":(" title="Smutny" /><br />juz nie mam pomysłów<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=3050">hugomcm</a> — 15 paź 2014, o 22:41</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rafalstauer]]></name></author>
<updated>2014-10-15T22:36:11+01:00</updated>
<published>2014-10-15T22:36:11+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99237#p99237</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99237#p99237"/>
<title type="html"><![CDATA[Re: Prośba o sprawdzenie kodu.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99237#p99237"><![CDATA[
Spróbuj jeszcze uint8_t buf...... dać do setup.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=5602">rafalstauer</a> — 15 paź 2014, o 22:36</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hugomcm]]></name></author>
<updated>2014-10-15T22:32:07+01:00</updated>
<published>2014-10-15T22:32:07+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99234#p99234</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99234#p99234"/>
<title type="html"><![CDATA[Re: Prośba o sprawdzenie kodu.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99234#p99234"><![CDATA[
Servo\Servo.cpp.o: In function `__vector_11':<br />C:\Program Files\Arduino\libraries\Servo/Servo.cpp:103: multiple definition of `__vector_11'<br />VirtualWire\VirtualWire.cpp.o:C:\Users\juii\Documents\Arduino\libraries\VirtualWire/VirtualWire.cpp:568: first defined here<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=3050">hugomcm</a> — 15 paź 2014, o 22:32</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rafalstauer]]></name></author>
<updated>2014-10-15T22:29:51+01:00</updated>
<published>2014-10-15T22:29:51+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99233#p99233</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99233#p99233"/>
<title type="html"><![CDATA[Re: Prośba o sprawdzenie kodu.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99233#p99233"><![CDATA[
Najlepiej jakbyś wkleił jakie błędy ci wyskakują.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=5602">rafalstauer</a> — 15 paź 2014, o 22:29</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hugomcm]]></name></author>
<updated>2014-10-15T22:26:57+01:00</updated>
<published>2014-10-15T22:26:57+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99231#p99231</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99231#p99231"/>
<title type="html"><![CDATA[Re: Prośba o sprawdzenie kodu.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99231#p99231"><![CDATA[
przeniesione taka sama reakcja...<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=3050">hugomcm</a> — 15 paź 2014, o 22:26</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rafalstauer]]></name></author>
<updated>2014-10-15T22:23:08+01:00</updated>
<published>2014-10-15T22:23:08+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99230#p99230</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99230#p99230"/>
<title type="html"><![CDATA[Re: Prośba o sprawdzenie kodu.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99230#p99230"><![CDATA[
Nie znam się ale...<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent"> myservo.attach(9); </div><br /><br />dałbym do setup.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=5602">rafalstauer</a> — 15 paź 2014, o 22:23</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hugomcm]]></name></author>
<updated>2014-10-16T08:27:23+01:00</updated>
<published>2014-10-15T22:06:05+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99228#p99228</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99228#p99228"/>
<title type="html"><![CDATA[Prośba o sprawdzenie kodu.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=8837&amp;p=99228#p99228"><![CDATA[
Jezeli ktoś ma pojęcie i chciałby mi pomóc z bibliotekami ponieważ jakiś błąd własnie związany z nimi wyrzuca.<br /><br />#include &lt;Servo.h&gt;  oraz  #include &lt;VirtualWire.h<br />[syntax=c]#include &lt;Servo.h&gt; <br />#include &lt;VirtualWire.h&gt;<br />Servo myservo;<br />int stan1 = 90;<br />char stan ;<br />int pos = 0;<br />void setup()<br />{<br /> <br />  <br /><br />  vw_setup(2000); <br />  vw_set_rx_pin(4);<br />  vw_rx_start();     <br />}<br /><br />void loop()<br />{<br />  <br />    myservo.attach(9); <br />    uint8_t buf&#91;VW_MAX_MESSAGE_LEN&#93;;<br />    uint8_t buflen = VW_MAX_MESSAGE_LEN;<br />    <br />    if (vw_get_message(buf, &amp;buflen)) <br />    {<br />int i;<br />       String stan;<br />  for (i = 0; i &lt; buflen; i++)<br />  { <br />  stan +=char(buf&#91;i&#93;);<br />  }<br />     {<br />    if (stan == &quot;31&quot;) {stan1 = 0;}<br />    if (stan == &quot;32&quot;) {stan1 = 180;}<br />    if (stan == &quot;0&quot;)  {stan1 = 90;}<br />     {pos = stan1;}<br />      myservo.write(pos);<br />     }<br />       <br />   } <br /><br /> <br />  delay(100); <br /> }[/syntax]<br /><br />chodzi o servo sterowane za pomocą RF, moim zdaniem wszystko powinno działać poprawnie jednak tak sie nie dzieje.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=3050">hugomcm</a> — 15 paź 2014, o 22:06</p><hr />
]]></content>
</entry>
</feed>