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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2023-02-21T17:37:26+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=24420&amp;mode</id>
<entry>
<author><name><![CDATA[cedrom]]></name></author>
<updated>2023-02-21T17:37:26+01:00</updated>
<published>2023-02-21T17:37:26+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=24420&amp;p=236564#p236564</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=24420&amp;p=236564#p236564"/>
<title type="html"><![CDATA[Re: Sprawdzenie ustawień Timera0 Atmega 328P]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=24420&amp;p=236564#p236564"><![CDATA[
A dałeś sei(); przed pętlą główną?<br />Ustawiłeś pin na wyjście?<br /><br />Daj cały kod jak możesz<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=21939">cedrom</a> — 21 lut 2023, o 17:37</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Acade]]></name></author>
<updated>2023-02-21T13:40:03+01:00</updated>
<published>2023-02-21T13:40:03+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=24420&amp;p=236562#p236562</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=24420&amp;p=236562#p236562"/>
<title type="html"><![CDATA[Sprawdzenie ustawień Timera0 Atmega 328P]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=24420&amp;p=236562#p236562"><![CDATA[
Cześć,<br /><br />bardzo Was proszę o weryfikację moich ustawień dla Timera0 dla atmegi328P. Nie wiem dlaczego ale nie działa mi przerwanie, jeżeli ustawię nawet miganie diodą w przerwaniu to pojawia się jakiś impuls co jakiś czas, ale zupełnie losowo.<br /><br />[syntax=c]// Inicjalizacja Timera sprzętowego Timer 0<br /><br />TCCR0A |= (1&lt;&lt;WGM01);            //tryb CTC<br />TCCR0B |= (1&lt;&lt;CS02) | (1&lt;&lt;CS00);  // preskaler 1024<br />OCR0A = 150;<br />TIMSK0 |= (1&lt;&lt;OCIE0A);[/syntax]<br />[syntax=c]ISR (TIMER0_COMPA_vect)<br />{<br /><br />LED1_TOG;<br /><br />}[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=21799">Acade</a> — 21 lut 2023, o 13:40</p><hr />
]]></content>
</entry>
</feed>