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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2014-12-19T08:13:43+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=9754&amp;mode</id>
<entry>
<author><name><![CDATA[matiwegr]]></name></author>
<updated>2014-12-19T08:13:43+01:00</updated>
<published>2014-12-19T08:13:43+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109435#p109435</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109435#p109435"/>
<title type="html"><![CDATA[Re: Problem z przerwaniem i TIMEREM0 ATmega328p]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109435#p109435"><![CDATA[
Dzięki bardzo! Już działa. Chyba jestem przemęczony.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=3833">matiwegr</a> — 19 gru 2014, o 08:13</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[eMCe2]]></name></author>
<updated>2014-12-18T21:16:57+01:00</updated>
<published>2014-12-18T21:16:57+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109381#p109381</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109381#p109381"/>
<title type="html"><![CDATA[Re: Problem z przerwaniem i TIMEREM0 ATmega328p]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109381#p109381"><![CDATA[
<div class="quotetitle">matiwegr napisał(a):</div><div class="quotecontent"><br />Testowo chciałem zaświecić diodę, jednak nie świeciła.<br /></div><br /><br />Chciałem nią świecić podpiętą do wyjścia OC0A? Czy użyłeś Timera do odliczania timera softwerowego?<br />Bo jeśli miałeś pod OC0A i chciałeś migać 500Hz to jak Mirek napisał za mało rejestrów ustawiłeś (COM0A0, COM0A1)<br />No a swoją drogą to przy 500Hz ciężko coś zobaczyć będzie...<br /><br />A jak Timer programowy to wklej reszte kodu...<br /><br /><div class="quotetitle">pbmaster napisał(a):</div><div class="quotecontent"><br />Sprawdź w jakim rejestrze znajduje się CS02<br /></div><br /><br />Oooo a to też przeoczyłem...  <img src="https://forum.atnel.pl/images/smilies/icon_rolleyes.gif" alt=":roll:" title="Udaje, że to nie on" />  <img src="https://forum.atnel.pl/images/smilies/icon_redface.gif" alt=":oops:" title="Zawstydzony" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1363">eMCe2</a> — 18 gru 2014, o 21:16</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[pbmaster]]></name></author>
<updated>2014-12-18T21:08:07+01:00</updated>
<published>2014-12-18T21:08:07+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109379#p109379</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109379#p109379"/>
<title type="html"><![CDATA[Re: Problem z przerwaniem i TIMEREM0 ATmega328p]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109379#p109379"><![CDATA[
Sprawdź w jakim rejestrze znajduje się CS02<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2093">pbmaster</a> — 18 gru 2014, o 21:08</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2014-12-18T20:59:56+01:00</updated>
<published>2014-12-18T20:59:56+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109377#p109377</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109377#p109377"/>
<title type="html"><![CDATA[Re: Problem z przerwaniem i TIMEREM0 ATmega328p]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109377#p109377"><![CDATA[
To musisz pan dokładniej w notę PDF zajrzeć i sprawdzić w jakim rejestrze jakie bity konfiguracyjne się ustawia żeby wystartować timer <img src="https://forum.atnel.pl/images/smilies/icon_e_wink.gif" alt=";)" title="Puszcza oko" /> ok?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 18 gru 2014, o 20:59</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[matiwegr]]></name></author>
<updated>2014-12-18T20:01:40+01:00</updated>
<published>2014-12-18T20:01:40+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109368#p109368</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109368#p109368"/>
<title type="html"><![CDATA[Problem z przerwaniem i TIMEREM0 ATmega328p]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=9754&amp;p=109368#p109368"><![CDATA[
Witam!<br />Mam problem dotyczący ATmegi328p 16MHz. W ogóle nie startuje przerwanie.<br />[syntax=c]#include &lt;avr/io.h&gt;<br />#include &lt;avr/interrupt.h&gt;<br /><br />int main(void){<br /><br />TCCR0A |= (1&lt;&lt;WGM01);<br />TCCR0A |= (1&lt;&lt;CS02);//preskaler 256<br />OCR0A = 124;//przerwanie co 500Hz<br />TIMSK0 |= (1&lt;&lt;OCIE0A);<br /><br />sei();<br />while(1){<br /><br />}<br />}<br /><br />ISR(TIMER0_COMPA_vect){<br /><br />}[/syntax]<br /><br />Testowo chciałem zaświecić diodę, jednak nie świeciła.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=3833">matiwegr</a> — 18 gru 2014, o 20:01</p><hr />
]]></content>
</entry>
</feed>