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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2013-10-04T18:08:00+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=4369&amp;mode</id>
<entry>
<author><name><![CDATA[Jaglarz]]></name></author>
<updated>2013-10-04T18:08:00+01:00</updated>
<published>2013-10-04T18:08:00+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51913#p51913</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51913#p51913"/>
<title type="html"><![CDATA[Re: blad przy tworzeniu odzielnej bibloteki]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51913#p51913"><![CDATA[
<strong>DominikN</strong> - <span style="color: #FF0000">masz wystarczającą liczbę postów aby wiedzieć że kody wklejamy przy pomocy syntax=c<br />Ostrzeżenie - Różowy J.</span><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=471">Jaglarz</a> — 4 paź 2013, o 18:08</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Anonymous]]></name></author>
<updated>2013-10-04T10:42:58+01:00</updated>
<published>2013-10-04T10:42:58+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51838#p51838</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51838#p51838"/>
<title type="html"><![CDATA[Re: blad przy tworzeniu odzielnej bibloteki]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51838#p51838"><![CDATA[
Po pierwsze czemu stworzyłeś projekt z debug?, stąd twoje problemy mogą być<br />stwórz na nowo odhacz debug i skompiluj jeszcze raz<br /><br /><strong><span style="color: #808000">------------------------ [ Dodano po: 1 minucie ]</span></strong><br /><br />W main brakuje void <img src="https://forum.atnel.pl/images/smilies/icon_e_wink.gif" alt=";)" title="Puszcza oko" /><br /><br /><strong><span style="color: #808000">------------------------ [ Dodano po: 3 minutach ]</span></strong><br /><br />aaa no i w uartlib.h na końcu unsigned char odczytaj(void) no czego brakuje, czego?<br /><br />No jak dorzucisz czego brakuje kompilacja idzie bez błędów.<p>Statystyki: Napisane przez Gość — 4 paź 2013, o 10:42</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[DominikN]]></name></author>
<updated>2013-10-04T10:31:50+01:00</updated>
<published>2013-10-04T10:31:50+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51834#p51834</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51834#p51834"/>
<title type="html"><![CDATA[Re: blad przy tworzeniu odzielnej bibloteki]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51834#p51834"><![CDATA[
ok dodalem i nadal dostaje takie bledy<br /><br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">make all <br />Building file: ../main.c<br />Invoking: AVR Compiler<br />avr-gcc -Wall -Os -fpack-struct -fshort-enums -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=attiny2313 -DF_CPU=8000000UL -MMD -MP -MF&quot;main.d&quot; -MT&quot;main.d&quot; -c -o &quot;main.o&quot; &quot;../main.c&quot;<br />../main.c: In function 'odczytaj':<br />../main.c:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br />../main.c:11: error: expected '{' at end of input<br />../main.c:11: warning: no return statement in function returning non-void<br />make: *** &#91;main.o&#93; Error 1<br /><br />**** Build Finished ****<br /></div><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1653">DominikN</a> — 4 paź 2013, o 10:31</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Anonymous]]></name></author>
<updated>2013-10-04T10:26:27+01:00</updated>
<published>2013-10-04T10:26:27+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51833#p51833</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51833#p51833"/>
<title type="html"><![CDATA[Re: blad przy tworzeniu odzielnej bibloteki]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51833#p51833"><![CDATA[
No deklaracje funkcji odczytaj masz, a gdzie definicja?<p>Statystyki: Napisane przez Gość — 4 paź 2013, o 10:26</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[DominikN]]></name></author>
<updated>2013-10-04T10:31:03+01:00</updated>
<published>2013-10-04T10:17:33+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51832#p51832</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51832#p51832"/>
<title type="html"><![CDATA[blad przy tworzeniu odzielnej bibloteki]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=4369&amp;p=51832#p51832"><![CDATA[
chce przenieść funkcje do zewnętrznego pliku i zrobic bibloteke <br />przy okazji dostaje błędy <br /><br /><br />plik.c<br />[syntax=c]#include &quot;uartlib.h&quot;<br />#include &lt;avr/interrupt.h&gt;<br />#include &lt;avr/io.h&gt;<br /><br />#define baud9600 51<br /><br />void USART_Init(unsigned int baud) {<br />/* Set baud rate */<br />UBRRH = (unsigned char) (baud &gt;&gt; 8);<br />UBRRL = (unsigned char) baud;<br />/* Enable receiver and transmitter */UCSRB = (1 &lt;&lt; RXEN) | (1 &lt;&lt; TXEN);<br />/* Set frame format: 8data, 2stop bit */<br />UCSRC = (1 &lt;&lt; USBS) | (3 &lt;&lt; UCSZ0);<br />}[/syntax]<br /><br />plik.h<br />[syntax=c]#ifndef UARTLIB_H_<br />#define UARTLIB_H_<br /><br />#include &lt;avr/interrupt.h&gt;<br />#include &lt;avr/io.h&gt;<br /><br />void USART_Init(unsigned int baud);<br />void wpisz_znak(char data);<br />void wpisz_str(char data&#91;&#93;);<br />void wpisz_int(long data);<br />unsigned char odczytaj(void)<br /><br />#endif /* UARTLIB_H_ */[/syntax]<br /><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />Invoking: AVR Compiler<br />avr-gcc -Wall -Os -fpack-struct -fshort-enums -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=attiny2313 -DF_CPU=8000000UL -MMD -MP -MF&quot;uartlib.d&quot; -MT&quot;uartlib.d&quot; -c -o &quot;uartlib.o&quot; &quot;../uartlib.c&quot;<br />../uartlib.c: In function 'odczytaj':<br />../uartlib.c:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br />../uartlib.c:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br />../uartlib.c:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br />../uartlib.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token<br />../uartlib.c:44: error: expected '{' at end of input<br /></div><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1653">DominikN</a> — 4 paź 2013, o 10:17</p><hr />
]]></content>
</entry>
</feed>