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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2017-01-02T08:50:42+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=8&amp;t=17201&amp;mode</id>
<entry>
<author><name><![CDATA[Jaglarz]]></name></author>
<updated>2017-01-01T21:17:15+01:00</updated>
<published>2017-01-01T21:17:15+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17201&amp;p=178779#p178779</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17201&amp;p=178779#p178779"/>
<title type="html"><![CDATA[Re: Rc5 Atmega 8]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17201&amp;p=178779#p178779"><![CDATA[
<!-- l --><a class="postlink-local" href="http://forum.atnel.pl/topic7402.html" >topic7402.html</a><!-- l --><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=471">Jaglarz</a> — 1 sty 2017, o 21:17</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[robo1973]]></name></author>
<updated>2017-01-02T08:50:42+01:00</updated>
<published>2017-01-01T19:07:22+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17201&amp;p=178764#p178764</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17201&amp;p=178764#p178764"/>
<title type="html"><![CDATA[Rc5 Atmega 8]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17201&amp;p=178764#p178764"><![CDATA[
Witam !!<br />Cały czas funkcja Getrc5(adres , Komenda)<br />podaje 255 i 127 <br />Co robię nie tak ? Odbiornik IR TS0P4836 podpięty do Pind.2<br />[syntax]'************* Konfiguracja uC *****************<br />'***********************************************<br />$regfile = &quot;m8def.dat&quot;<br />$crystal = 8000000<br />$baud = 9600<br /><br />Config Portb = &amp;B00000000 : Portb = &amp;B00000000<br />   Config Portb = Output<br /><br />   Config Portd = Input<br /><br />'Config Portd = &amp;B11111011 : Portd = &amp;B11111111<br /><br />Config Portd = &amp;B00000000 : Portd = &amp;B00000000<br />On Int0 Przzew0 Nosave<br />Config Int0 = Low Level                                     'Falling<br />Enable Int0<br /><br />Config Rc5 = Pind.2 , Timer = 2<br />Dioda Alias Portb.1<br /><br />Config Lcdpin = Pin , Db7 = Pc.0 , Db6 = Pc.1 , Db5 = Pc.2 , Db4 = Pc.3 , E = Pc.4 , Rs = Pc.5<br />Config Lcd = 16 * 2<br />Cls<br />Cursor Off Noblink<br /><br />Enable Interrupts<br />'********** Konfiguracja uC Koniec  ************<br /><br />'******************  Zmienne *******************<br />'***********************************************<br />Dim Komenda As Byte , Adres As Byte<br />Dim Odebrano As Bit<br />'*************  Zmienne Koniec  ****************<br /><br />'**************  Petla glowna ******************<br />'***********************************************<br />Do<br /><br />  If Odebrano = 1 Then<br />    If Adres &lt;&gt; 0 Then                                      'pilot o adresie 0<br />      Reset Dioda<br /><br />      Cls<br />      Print Komenda<br /><br />      Waitms 10<br />      Set Dioda<br />      Waitms 10<br />    End If<br />    Odebrano = 0<br />    Enable Int0<br />  End If<br /><br />Loop<br />End<br />'************ Petla glowna Koniec **************<br /><br />Przzew0:<br />  Disable Int0<br />  Enable Interrupts<br />  Getrc5(adres , Komenda)<br />  Komenda = Komenda And &amp;B01111111<br />  Odebrano = 1<br />Return[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=6554">robo1973</a> — 1 sty 2017, o 19:07</p><hr />
]]></content>
</entry>
</feed>