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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2013-08-16T21:58:12+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=3886&amp;mode</id>
<entry>
<author><name><![CDATA[ZgłebiaczTajników]]></name></author>
<updated>2013-08-16T21:58:12+01:00</updated>
<published>2013-08-16T21:58:12+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45964#p45964</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45964#p45964"/>
<title type="html"><![CDATA[Re: Problem z przesyłaniem kodów ASCII na terminal]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45964#p45964"><![CDATA[
Tak też wiem o tym bo próbowałem ją wywołać i efekt ten sam czyli ten sam błąd z tą stałą UCUR_HIDE.<br /><br />Przepraszam wygląda na to że ta metoda działa.<br />Ok dzięki już wiem o c chodzi. <br />Ok teraz działa póki co. Pozdrawiam.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1483">ZgłebiaczTajników</a> — 16 sie 2013, o 21:58</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ZgłebiaczTajników]]></name></author>
<updated>2013-08-16T21:06:22+01:00</updated>
<published>2013-08-16T21:06:22+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45956#p45956</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45956#p45956"/>
<title type="html"><![CDATA[Re: Problem z przesyłaniem kodów ASCII na terminal]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45956#p45956"><![CDATA[
No właśnie wiem o tym <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /> Dlatego pytam dlaczego mi tych tablic nie widzi bo są one w mk_term.c<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1483">ZgłebiaczTajników</a> — 16 sie 2013, o 21:06</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ZgłebiaczTajników]]></name></author>
<updated>2013-08-16T20:58:30+01:00</updated>
<published>2013-08-16T20:58:30+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45954#p45954</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45954#p45954"/>
<title type="html"><![CDATA[Re: Problem z przesyłaniem kodów ASCII na terminal]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45954#p45954"><![CDATA[
Teraz taki kod i inny błąd:<br />[syntax=c]#include&lt;avr/io.h&gt;<br />#include&lt;avr/interrupt.h&gt;<br />#include&lt;avr/pgmspace.h&gt;<br />#include&lt;util/delay.h&gt;<br />#include&lt;stdlib.h&gt;<br /><br />#include &quot;MYUART/myuart.h&quot;<br />#include &quot;MK_TERMINAL/mk_term.h&quot;<br /><br />const char UCLS&#91;&#93; PROGMEM = { &quot;\x1b&quot;&quot;&#91;2J&quot; };<br />const char UHOME&#91;&#93; PROGMEM = { &quot;\x1b&quot;&quot;&#91;;H&quot; };<br />const char UCUR_HIDE&#91;&#93; PROGMEM = { &quot;\x1b&quot;&quot;&#91;?25l&quot; };<br />const char UCUR_SHOW&#91;&#93; PROGMEM = { &quot;\x1b&quot;&quot;&#91;?25h&quot; };<br />const char U_ATTR_OFF&#91;&#93; PROGMEM = { &quot;\x1b&quot;&quot;&#91;m&quot; };<br /><br />int main(void){<br /><br /><br />uart_init(_UBRR);<br /><br />sei();<br /><br />uart_puts(UCUR_HIDE);<br /><br />while(1)<br />{<br /><br /><br />}<br />}<br /><br />Building target: TERMINAL_TEST.elf<br />Invoking: AVR C Linker<br />avr-gcc -Wl,-Map,TERMINAL_TEST.map -mmcu=atmega32 -o &quot;TERMINAL_TEST.elf&quot;  ./MYUART/myuart.o  ./MK_TERMINAL/mk_term.o  ./main.o   <br />./main.o:(.progmem.data+0x0): multiple definition of `U_ATTR_OFF'<br />./MK_TERMINAL/mk_term.o:(.progmem.data+0x0): first defined here<br />./main.o:(.progmem.data+0x4): multiple definition of `UCUR_SHOW'<br />./MK_TERMINAL/mk_term.o:(.progmem.data+0x4): first defined here<br />./main.o:(.progmem.data+0xb): multiple definition of `UCUR_HIDE'<br />./MK_TERMINAL/mk_term.o:(.progmem.data+0xb): first defined here<br />./main.o:(.progmem.data+0x12): multiple definition of `UHOME'<br />./MK_TERMINAL/mk_term.o:(.progmem.data+0x12): first defined here<br />./main.o:(.progmem.data+0x17): multiple definition of `UCLS'<br />./MK_TERMINAL/mk_term.o:(.progmem.data+0x17): first defined here<br />collect2.exe: error: ld returned 1 exit status<br />make: *** &#91;TERMINAL_TEST.elf&#93; Błąd 1[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1483">ZgłebiaczTajników</a> — 16 sie 2013, o 20:58</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ZgłebiaczTajników]]></name></author>
<updated>2013-08-16T20:53:10+01:00</updated>
<published>2013-08-16T20:51:21+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45952#p45952</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45952#p45952"/>
<title type="html"><![CDATA[Re: Problem z przesyłaniem kodów ASCII na terminal]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45952#p45952"><![CDATA[
[syntax=c]#include&lt;avr/io.h&gt;<br />#include&lt;avr/interrupt.h&gt;<br />#include&lt;avr/pgmspace.h&gt;<br />#include&lt;util/delay.h&gt;<br />#include&lt;stdlib.h&gt;<br /><br />#include &quot;MYUART/myuart.h&quot;<br />#include &quot;MK_TERMINAL/mk_term.h&quot;<br /><br /><br /><br />int main(void){<br /><br /><br />uart_init(_UBRR);<br /><br />sei();<br /><br />uart_puts( UCUR_HIDE );<br /><br />while(1)<br />{<br /><br /><br />}<br />}<br /><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=atmega32 -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 'main':<br />../main.c:25:13: error: 'UCUR_HIDE' undeclared (first use in this function)<br />../main.c:25:13: note: each undeclared identifier is reported only once for each function it appears in<br />make: *** &#91;main.o&#93; Błąd 1[/syntax]<br /><br /><br />Ta bibl. MYUART jest poprostu kopia Mk_UART tyle że z inną nazwą.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1483">ZgłebiaczTajników</a> — 16 sie 2013, o 20:51</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ZgłebiaczTajników]]></name></author>
<updated>2013-08-16T20:45:54+01:00</updated>
<published>2013-08-16T20:45:54+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45950#p45950</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45950#p45950"/>
<title type="html"><![CDATA[Re: Problem z przesyłaniem kodów ASCII na terminal]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45950#p45950"><![CDATA[
Ależ ta funkcja jest w myuart.c więc jak mogę jej nie mieć jak zainkludowałem?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1483">ZgłebiaczTajników</a> — 16 sie 2013, o 20:45</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ZgłebiaczTajników]]></name></author>
<updated>2013-08-16T20:41:40+01:00</updated>
<published>2013-08-16T20:41:40+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45948#p45948</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45948#p45948"/>
<title type="html"><![CDATA[Re: Problem z przesyłaniem kodów ASCII na terminal]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45948#p45948"><![CDATA[
Ok ale co ma się dziać kiedy zamienie na uart_puts_P() bo próbowałem i po prostu nie kompiluje się.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1483">ZgłebiaczTajników</a> — 16 sie 2013, o 20:41</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ZgłebiaczTajników]]></name></author>
<updated>2013-08-16T20:38:03+01:00</updated>
<published>2013-08-16T20:38:03+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45946#p45946</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45946#p45946"/>
<title type="html"><![CDATA[Re: Problem z przesyłaniem kodów ASCII na terminal]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45946#p45946"><![CDATA[
W jakim sensie dodane <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /> ? tzn. po prostu skopiowałem z projektu wyżej do tego projektu. Mogło się coś nie dodać?<br />Anty nic z tego <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1483">ZgłebiaczTajników</a> — 16 sie 2013, o 20:38</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[SunRiver]]></name></author>
<updated>2013-08-16T20:35:36+01:00</updated>
<published>2013-08-16T20:35:36+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45944#p45944</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45944#p45944"/>
<title type="html"><![CDATA[Re: Problem z przesyłaniem kodów ASCII na terminal]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45944#p45944"><![CDATA[
a masz te pliki w projekcie dodane ??<br />że o uart_puts_P()   nie wspomnę <br /><br />--- o anty mnie ubiegł<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=58">SunRiver</a> — 16 sie 2013, o 20:35</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ZgłebiaczTajników]]></name></author>
<updated>2013-08-16T20:32:16+01:00</updated>
<published>2013-08-16T20:32:16+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45942#p45942</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45942#p45942"/>
<title type="html"><![CDATA[Problem z przesyłaniem kodów ASCII na terminal]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=3886&amp;p=45942#p45942"><![CDATA[
Cześć Wam,<br />mam metodę main w której mam błąd taki, że nie widzi mi tych tablic z mk_term.c i pojawia się błąd (poniżej kodu)<br />[syntax=c]#include&lt;avr/io.h&gt;<br />#include&lt;avr/interrupt.h&gt;<br />#include&lt;avr/pgmspace.h&gt;<br />#include&lt;util/delay.h&gt;<br />#include&lt;stdlib.h&gt;<br /><br />#include &quot;MYUART/myuart.h&quot;<br />#include &quot;MK_TERMINAL/mk_term.h&quot;<br /><br />// TYCH TABLIC NIE WIDZI<br /><br />//const char UCUR_SHOW&#91;&#93; PROGMEM = { &quot;\x1b&quot;&quot;&#91;?25h&quot; };<br />//const char UCUR_HIDE&#91;&#93; PROGMEM = { &quot;\x1b&quot;&quot;&#91;?25l&quot; };<br />//const char UCLS&#91;&#93; PROGMEM = { &quot;\x1b&quot;&quot;&#91;2J&quot; };<br />//const char UHOME&#91;&#93; PROGMEM = { &quot;\x1b&quot;&quot;&#91;;H&quot; };<br /><br />int main(void){<br /><br />uart_init(_UBRR);<br /><br />sei();<br /><br />uart_puts( UCUR_HIDE ); // tutaj błąd <br /><br />while(1){<br />uart_puts( &quot;jakis napis testowy...&quot;);<br />_delay_ms(1000);<br /><br />}<br />}<br /><br /><br />TREŚĆ BŁĘDU<br /><br /><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=atmega32 -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 'main':<br />../main.c:28:13: error: 'UCUR_HIDE' undeclared (first use in this function)<br />../main.c:28:13: note: each undeclared identifier is reported only once for each function it appears in<br />make: *** &#91;main.o&#93; Błąd 1[/syntax]<br /><br />Macie jakieś sugestie? Bo ja nie mam pojęcia dlaczego tak jest.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1483">ZgłebiaczTajników</a> — 16 sie 2013, o 20:32</p><hr />
]]></content>
</entry>
</feed>