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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2014-03-27T16:18:19+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=6522&amp;mode</id>
<entry>
<author><name><![CDATA[karolek]]></name></author>
<updated>2014-03-27T16:07:06+01:00</updated>
<published>2014-03-27T16:07:06+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6522&amp;p=76049#p76049</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6522&amp;p=76049#p76049"/>
<title type="html"><![CDATA[Re: Rtc odczyt danych daty i czasu wieszanie sie avr]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6522&amp;p=76049#p76049"><![CDATA[
po kosultacji z ds avr problem rozwiązany , musialem lekko zmodyfikować funkcje odczytu z twi<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2535">karolek</a> — 27 mar 2014, o 16:07</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[NCIS]]></name></author>
<updated>2014-03-27T15:57:19+01:00</updated>
<published>2014-03-27T15:57:19+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6522&amp;p=76047#p76047</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6522&amp;p=76047#p76047"/>
<title type="html"><![CDATA[Re: Rtc odczyt danych daty i czasu wieszanie sie avr]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6522&amp;p=76047#p76047"><![CDATA[
[syntax=c]void main()<br />{<br /> <br />// ustawinie zegara dla twi  <br />// ustawienie terminala<br />// ustawienie portu dla led<br /> uint8_t d =  readRTC();<br /> while(1) //pusta pętla while!!<br />{<br /> }<br />}[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=295">NCIS</a> — 27 mar 2014, o 15:57</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[karolek]]></name></author>
<updated>2014-03-27T16:18:19+01:00</updated>
<published>2014-03-27T15:36:33+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6522&amp;p=76038#p76038</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6522&amp;p=76038#p76038"/>
<title type="html"><![CDATA[Rtc odczyt danych daty i czasu wieszanie sie avr]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6522&amp;p=76038#p76038"><![CDATA[
Mam problem z odczytem daty z rtc z  allegro ds1307<br /><img src="http://forum.atnel.pl/_obrazki/o/2535/5c5e6f6030c648ad514aea65fdfa8e4a.png" alt="Obrazek" /><br /><br /><br /><br />[syntax=c]uint8_t readRTC()<br />{<br />tstart();<br />twrite(0xD0);<br />twrite(0);<br />tstart();<br />twrite(0xD0+1);<br />uint8_t d = tread(NACK);<br />tstop();<br />return d;[/syntax]<br /><br />kontrolnie mam podlczone diode led i terminal <br />jak wgram hex to dioda przestaje migac i uklad nie reaguje co robie zle przy odczycie ? <br />[syntax=c]void main()<br />{<br /><br />// ustawinie zegara dla twi  <br />// ustawienie terminala<br />// ustawienie portu dla led<br /> uint8_t d;<br /> d =  readRTC();<br />          while(1) {<br />send_integer(d,10);<br />_delay_ms(150);<br />PORTD ^= (1 &lt;&lt; PD6);<br />            }<br />}[/syntax]<br /><br /><img src="http://forum.atnel.pl/_obrazki/o/2535/a8a73b0c484d5723073d06ab67803318.png" alt="Obrazek" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2535">karolek</a> — 27 mar 2014, o 15:36</p><hr />
]]></content>
</entry>
</feed>