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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2015-01-18T20:37:20+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=10273&amp;mode</id>
<entry>
<author><name><![CDATA[RafPe]]></name></author>
<updated>2015-01-18T20:37:20+01:00</updated>
<published>2015-01-18T20:37:20+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114810#p114810</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114810#p114810"/>
<title type="html"><![CDATA[Re: GB lekcja 21 - jak wysłać zmienną?]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114810#p114810"><![CDATA[
<img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /> wlasnie to samo podeslalem mu na @ <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /> ale smutek , ze zapomnialem o podstawowych zaleznosciach :/<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4344">RafPe</a> — 18 sty 2015, o 20:37</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[savian86]]></name></author>
<updated>2015-01-18T20:31:43+01:00</updated>
<published>2015-01-18T20:31:43+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114809#p114809</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114809#p114809"/>
<title type="html"><![CDATA[Re: GB lekcja 21 - jak wysłać zmienną?]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114809#p114809"><![CDATA[
w pliku zmienne.h robisz<br />[syntax=c]extern uint8_t cel;[/syntax]<br /><br />w pliku main.c robisz<br />[syntax=c]#include &quot;zmienne.h&quot;<br /><br />uint8_t cel;[/syntax]<br /><br />w pliku komendy.c robisz<br />[syntax=c]#include &quot;zmienne.h&quot;[/syntax]<br /><br />I Voila, cel będzie widoczna w pliku komendy.c<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=393">savian86</a> — 18 sty 2015, o 20:31</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[icer_cmg]]></name></author>
<updated>2015-01-18T19:59:41+01:00</updated>
<published>2015-01-18T19:59:41+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114803#p114803</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114803#p114803"/>
<title type="html"><![CDATA[Re: GB lekcja 21 - jak wysłać zmienną?]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114803#p114803"><![CDATA[
Mam tak zrobione i nadal to samo. w main jest zainkludowany plik zmienne, a nie widzi zmiennej cel, tak samo w komendach AT.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1636">icer_cmg</a> — 18 sty 2015, o 19:59</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RafPe]]></name></author>
<updated>2015-01-18T19:28:53+01:00</updated>
<published>2015-01-18T19:28:53+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114797#p114797</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114797#p114797"/>
<title type="html"><![CDATA[Re: GB lekcja 21 - jak wysłać zmienną?]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114797#p114797"><![CDATA[
usun &quot;uint8_t cel&quot; z main.c a dodaj <br /><br />[syntax=c]#include &quot;zmienne.h&quot;[/syntax]<br /><br />w komendy_at.c<br /><br />a nastepnie clean prohject / rebuild project <img src="https://forum.atnel.pl/images/smilies/icon_e_biggrin.gif" alt=":D" title="Bardzo szczęśliwy" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4344">RafPe</a> — 18 sty 2015, o 19:28</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[icer_cmg]]></name></author>
<updated>2015-01-18T19:21:21+01:00</updated>
<published>2015-01-18T19:21:21+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114795#p114795</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114795#p114795"/>
<title type="html"><![CDATA[Re: GB lekcja 21 - jak wysłać zmienną?]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114795#p114795"><![CDATA[
[syntax=c_loadrunner]In function `at_temp_service':<br />komendy_at.c:(.text+0x4a): undefined reference to `cel'<br />./main.o: In function `display_temp':<br />main.c:(.text+0xae): undefined reference to `cel'<br />main.c:(.text+0xbe): undefined reference to `cel'<br />./main.o: In function `main':<br />main.c:(.text+0x172): undefined reference to `cel'<br />main.c:(.text+0x174): undefined reference to `cel'<br />make: *** [04_LCD.elf] Error 1[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1636">icer_cmg</a> — 18 sty 2015, o 19:21</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RafPe]]></name></author>
<updated>2015-01-18T19:13:37+01:00</updated>
<published>2015-01-18T19:13:37+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114794#p114794</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114794#p114794"/>
<title type="html"><![CDATA[Re: GB lekcja 21 - jak wysłać zmienną?]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114794#p114794"><![CDATA[
A moglbys wkleic jakie masz bledy ? Bedzie od razu widac w ktorym miejscu masz cos pomieszane.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4344">RafPe</a> — 18 sty 2015, o 19:13</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[icer_cmg]]></name></author>
<updated>2015-01-18T19:57:57+01:00</updated>
<published>2015-01-18T18:57:08+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114789#p114789</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114789#p114789"/>
<title type="html"><![CDATA[Re: GB lekcja 21 - jak wysłać zmienną?]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114789#p114789"><![CDATA[
Wybaczcie i nie krzyczcie, ale nie ogarniam jakoś. Mnóstwo błędów się sypie.  Mam tak:<br /><br />zmienne.h<br />[syntax=c]#ifndef ZMENNE_H_<br />#define ZMENNE_H_<br /><br /><br />extern  uint8_t cel;<br /><br /><br /><br />#endif /* ZMENNE_H_ */[/syntax]<br /><br />main.c[syntax=c]#include &quot;komendy_at.h&quot;<br />    #include &quot;zmienne.h&quot;<br />     <br />    <br />     <br />    int main(void)<br />    {<br />         ......<br />    }[/syntax]<br /><br /><a href="http://forum.atnel.pl/_obrazki/o/1636/9030b864acc89644804644fd6c93dc69.JPG"  class="postlink"><img src="http://forum.atnel.pl/_obrazki/o/1636/9030b864acc89644804644fd6c93dc69.JPG" alt="Obrazek" /></a><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1636">icer_cmg</a> — 18 sty 2015, o 18:57</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[savian86]]></name></author>
<updated>2015-01-18T08:35:03+01:00</updated>
<published>2015-01-18T08:35:03+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114682#p114682</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114682#p114682"/>
<title type="html"><![CDATA[Re: GB lekcja 21 - jak wysłać zmienną?]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114682#p114682"><![CDATA[
Teraz masz tak, że elementy z &quot;komendy_at&quot; są widziane w pliku &quot;main&quot;, natomiast elementy z pliku &quot;main&quot; nie są widziane w &quot;komendy_at&quot;.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=393">savian86</a> — 18 sty 2015, o 08:35</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[icer_cmg]]></name></author>
<updated>2015-01-18T01:37:53+01:00</updated>
<published>2015-01-18T01:37:53+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114677#p114677</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114677#p114677"/>
<title type="html"><![CDATA[Re: GB lekcja 21 - jak wysłać zmienną?]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114677#p114677"><![CDATA[
Dokładnie mam tak:<br />main.c<br />[syntax=c]#include &quot;komendy_at.h&quot;<br /><br /> uint8_t cel;<br /><br />int main(void)<br />{<br />     ......<br />}[/syntax]<br /><a href="http://forum.atnel.pl/_obrazki/o/1636/0c5cefc70a9244243b33fdb7935922b5.JPG"  class="postlink"><img src="http://forum.atnel.pl/_obrazki/o/1636/0c5cefc70a9244243b33fdb7935922b5.JPG" alt="Obrazek" /></a><br /><br /><br /><strong>Jak powinno być?</strong><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1636">icer_cmg</a> — 18 sty 2015, o 01:37</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[savian86]]></name></author>
<updated>2015-01-18T01:20:55+01:00</updated>
<published>2015-01-18T01:20:55+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114676#p114676</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114676#p114676"/>
<title type="html"><![CDATA[Re: GB lekcja 21 - jak wysłać zmienną?]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114676#p114676"><![CDATA[
Zapewne nie zaincludowałeś pliku który zawiera zmienną cel, lub nie ustawiłeś jej na extern.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=393">savian86</a> — 18 sty 2015, o 01:20</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[icer_cmg]]></name></author>
<updated>2015-01-18T01:03:36+01:00</updated>
<published>2015-01-18T01:03:36+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114673#p114673</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114673#p114673"/>
<title type="html"><![CDATA[GB lekcja 21 - jak wysłać zmienną?]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10273&amp;p=114673#p114673"><![CDATA[
Postanowiłem zrobić możliwość odczytania temperatury z DS18b20 za pomocą komendy AT. Jednak mam problem:<br />[syntax=c]int8_t at_temp_service(uint8_t inout, char * params) {<br /><br />uart_putint(cel,10);<br />//uart_puts(&quot;OK\r\n&quot;);<br />return 0;<br />}[/syntax][syntax=c]'cel' undeclared (first use in this function)[/syntax]<br /><br />reszta kodu - BB - L11 (DS18B20)<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1636">icer_cmg</a> — 18 sty 2015, o 01:03</p><hr />
]]></content>
</entry>
</feed>