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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2015-08-18T16:21:43+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=58&amp;t=12679&amp;mode</id>
<entry>
<author><name><![CDATA[anshar]]></name></author>
<updated>2015-08-18T16:21:43+01:00</updated>
<published>2015-08-18T16:21:43+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137784#p137784</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137784#p137784"/>
<title type="html"><![CDATA[Re: Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137784#p137784"><![CDATA[
Powinno być:<br />[syntax=c]void http200ok (void)<br /><br />    {<br /><br />            uart_puts_P( PSTR( &quot;HTTP/1.0 200 OK\r\nContent-Type: text/html; charset=windows-1250\r\nPragma: no-cache\r\n\r\n&quot; ) );<br /><br />    }[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=7157">anshar</a> — 18 sie 2015, o 16:21</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Elektronik]]></name></author>
<updated>2015-08-18T14:22:23+01:00</updated>
<published>2015-08-18T14:22:23+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137769#p137769</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137769#p137769"/>
<title type="html"><![CDATA[Re: Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137769#p137769"><![CDATA[
Niestety to nic nie daję czy wywyołuję odpowiednio, niestety kod wygenerowany jest ciut mniejszy od tego który Mirek pokazuję w 5 poradniku.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=858">Elektronik</a> — 18 sie 2015, o 14:22</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[anshar]]></name></author>
<updated>2015-08-18T14:16:19+01:00</updated>
<published>2015-08-18T14:16:19+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137768#p137768</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137768#p137768"/>
<title type="html"><![CDATA[Re: Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137768#p137768"><![CDATA[
Tak, musisz ją wywoływać w ten sposób:<br />[syntax=c]uart_puts_P( html );[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=7157">anshar</a> — 18 sie 2015, o 14:16</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Elektronik]]></name></author>
<updated>2015-08-18T08:52:44+01:00</updated>
<published>2015-08-18T08:52:44+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137724#p137724</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137724#p137724"/>
<title type="html"><![CDATA[Re: Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137724#p137724"><![CDATA[
Witam<br /><br />A teraz natrafiłem na kolejny problem z tablicą htmlok.<br />Wrzuciłem do konwertera linijkę:<br />[syntax=c]HTTP/1.0 200 OK\r\nContent-Type: text/html\r\nPragma: no-cache\r\n\r\n[/syntax]<br /><br />i otrzymuję tablicę <br />[syntax=c]const char html&#91;&#93; PROGMEM = {<br />0x48,0x54,0x54,0x50,0x2F,0x31,0x2E,0x30,0x20,0x32,0x30,0x30,0x20,0x4F,0x4B,0x5C,<br />0x72,0x5C,0x6E,0x43,0x6F,0x6E,0x74,0x65,0x6E,0x74,0x2D,0x54,0x79,0x70,0x65,0x3A,<br />0x20,0x74,0x65,0x78,0x74,0x2F,0x68,0x74,0x6D,0x6C,0x5C,0x72,0x5C,0x6E,0x50,0x72,<br />0x61,0x67,0x6D,0x61,0x3A,0x20,0x6E,0x6F,0x2D,0x63,0x61,0x63,0x68,0x65,0x5C,0x72,<br />0x5C,0x6E,0x5C,0x72,0x5C,0x6E,0x00<br />};[/syntax]<br /><br />Niestety nie działa. Pomysły ? <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=858">Elektronik</a> — 18 sie 2015, o 08:52</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RafPe]]></name></author>
<updated>2015-08-17T18:42:53+01:00</updated>
<published>2015-08-17T18:42:53+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137639#p137639</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137639#p137639"/>
<title type="html"><![CDATA[Re: Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137639#p137639"><![CDATA[
Polecam wszystkim te narzedzie <img src="https://forum.atnel.pl/images/smilies/icon_e_biggrin.gif" alt=":D" title="Bardzo szczęśliwy" /> jak wkleiles caly kod w HTMLu od razu podswietlilo blad <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /> <!-- m --><a class="postlink" href="http://jsfiddle.net/" >http://jsfiddle.net/</a><!-- m --><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4344">RafPe</a> — 17 sie 2015, o 18:42</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Elektronik]]></name></author>
<updated>2015-08-17T18:40:50+01:00</updated>
<published>2015-08-17T18:40:50+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137638#p137638</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137638#p137638"/>
<title type="html"><![CDATA[Re: Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137638#p137638"><![CDATA[
Dzięki już działa jak należy <img src="https://forum.atnel.pl/images/smilies/icon_razz.gif" alt=":P" title="Pokazuje język" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=858">Elektronik</a> — 17 sie 2015, o 18:40</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RafPe]]></name></author>
<updated>2015-08-17T18:35:15+01:00</updated>
<published>2015-08-17T18:35:15+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137636#p137636</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137636#p137636"/>
<title type="html"><![CDATA[Re: Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137636#p137636"><![CDATA[
Tu masz blad ... uart_puts_P(PSTR(&quot;&lt;/b&gt;\n&lt;/font&quot;) );<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4344">RafPe</a> — 17 sie 2015, o 18:35</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Elektronik]]></name></author>
<updated>2015-08-17T18:33:24+01:00</updated>
<published>2015-08-17T18:33:24+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137635#p137635</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137635#p137635"/>
<title type="html"><![CDATA[Re: Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137635#p137635"><![CDATA[
[syntax=html4strict]&lt;html&gt;&lt;body&gt;&lt;pre&gt;&lt;font color='green' size='6'&gt;&lt;b&gt;ATNEL-WIFI232-T - WITAM !&lt;/b&gt;<br />&lt;/font&gt;&lt;font color='blue'&gt;&lt;i&gt;serwer HTTP działa znakomicie&lt;/i&gt;<br /><br />&lt;/font&gt;&lt;hr&gt;&lt;img src=http://www.atnel.pl/atnel_mini.jpg&gt;&lt;hr&gt;&lt;a href=http://atnel.pl&gt;&lt;br&gt;www.atnel.pl&lt;/a&gt;<br /><br />&lt;font color=#ff00ff size='6'&gt;&lt;b&gt;AVR - licznik wywołań strony: 1&lt;/b&gt;<br />&lt;/font&lt;font color='#0099FF' size='4'&gt;&lt;b&gt;------- Formularz -------&lt;/b&gt;<br />&lt;/font&gt;&lt;br&gt;&lt;form&gt;Podaj imię: &lt;input type=&quot;text&quot; name=&quot;imie&quot; /&gt;&lt;br&gt;&lt;br&gt;Okresl swoj wiek: &lt;select name =&quot;wiek&quot;&gt;&lt;option&gt;mniej niz 18&lt;/option&gt;&lt;option&gt;18-25&lt;/option&gt;&lt;option&gt;26-35&lt;/option&gt;&lt;option&gt;36-45&lt;/option&gt;&lt;option&gt;46-56&lt;/option&gt;&lt;option&gt;wiecej niz 56&lt;/option&gt;&lt;/select&gt;&lt;br&gt;&lt;br&gt;&lt;button&gt;&lt;img src=&quot;http://www.atnel.pl/atnel_send.png&quot; /&gt; send ... &lt;/button&gt;&lt;/form&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;[/syntax]<br /><br />Wszystko pisałem według poradników <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=858">Elektronik</a> — 17 sie 2015, o 18:33</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[anshar]]></name></author>
<updated>2015-08-17T18:32:02+01:00</updated>
<published>2015-08-17T18:32:02+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137634#p137634</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137634#p137634"/>
<title type="html"><![CDATA[Re: Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137634#p137634"><![CDATA[
Panowie, a nie jest czasem tak, że kolory zapisane jako RGB podaje się bez apostrofów?<br />Czyli tak:<br />[syntax=c]uart_puts_P(PSTR(&quot;&lt;font color=#0099FF size='4'&gt;&lt;b&gt;------- Formularz -------&lt;/b&gt;\n&lt;/font&gt;&lt;br&gt;&quot;) );[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=7157">anshar</a> — 17 sie 2015, o 18:32</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RafPe]]></name></author>
<updated>2015-08-17T18:22:48+01:00</updated>
<published>2015-08-17T18:22:48+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137633#p137633</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137633#p137633"/>
<title type="html"><![CDATA[Re: Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137633#p137633"><![CDATA[
Dobra a jak otworzysz ta stronke mozesz kliknac na nia prawym -&gt; pokaz zrodlo i wkleic je tutaj ?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4344">RafPe</a> — 17 sie 2015, o 18:22</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Elektronik]]></name></author>
<updated>2015-08-17T18:14:38+01:00</updated>
<published>2015-08-17T18:14:38+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137629#p137629</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137629#p137629"/>
<title type="html"><![CDATA[Re: Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137629#p137629"><![CDATA[
Niestety dalej różowy kolor<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=858">Elektronik</a> — 17 sie 2015, o 18:14</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RafPe]]></name></author>
<updated>2015-08-17T18:10:50+01:00</updated>
<published>2015-08-17T18:10:50+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137628#p137628</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137628#p137628"/>
<title type="html"><![CDATA[Re: Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137628#p137628"><![CDATA[
a tak ? <br /><br />[syntax=c]uart_puts_P(PSTR(&quot;\r\n\r\n&lt;font color='#ff00ff' size='6'&gt;&lt;b&gt;AVR - licznik wywołań strony: &quot;) );<br />        uart_putint(++licz, 10);<br />        uart_puts_P(PSTR(&quot;&lt;/b&gt;\n&lt;/font&quot;) );<br />        uart_puts_P(PSTR(&quot;&lt;font color='#0099FF' size='4'&gt;&lt;b&gt;------- Fromularz -------&lt;/b&gt;\n&lt;/font&gt;&lt;br&gt;&quot;) );[/syntax]<br /><br />a tu masz linka gdzie sprawdzalem ... <a href="https://jsfiddle.net/v1vb477e/embedded/result/"  class="postlink">https://jsfiddle.net/v1vb477e/embedded/result/</a><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4344">RafPe</a> — 17 sie 2015, o 18:10</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Elektronik]]></name></author>
<updated>2015-08-17T18:11:05+01:00</updated>
<published>2015-08-17T17:59:58+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137627#p137627</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137627#p137627"/>
<title type="html"><![CDATA[Serwer HTTP nie wyświetla jednego koloru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12679&amp;p=137627#p137627"><![CDATA[
Witam<br /><br />Mam pewien problem robię wszystko zgodnie z poradnikiem. Zatrzymałem się w trzecim sezonie WIFI232 - HTTP web server. I mam taki problem gdyż mam to samo co Mirek i dokonując kompilacji i wgrania napis formularz mam różowy a nie niebieski tutaj wrzucam skrawek kodu:<br /><br />[syntax=c]void http200ok (void)<br /><br />{<br /><br />uart_puts_P(PSTR(&quot;HTTP/1.0 200 OK\r\nContent-Type: text/html\r\nPragma: no-cache\r\n\r\n&quot;) );<br /><br />}<br /><br />void print_webpage(void)<br /><br />{<br /><br />http200ok();<br /><br />uart_puts_P(PSTR(&quot;&lt;html&gt;&lt;body&gt;&lt;pre&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;font color='green' size='6'&gt;&lt;b&gt;ATNEL-WIFI232-T - WITAM !&lt;/b&gt;\n&lt;/font&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;font color='blue'&gt;&lt;i&gt;serwer HTTP działa znakomicie&lt;/i&gt;\n\n&lt;/font&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;hr&gt;&lt;img src=http://www.atnel.pl/atnel_mini.jpg&gt;&lt;hr&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;a href=http://atnel.pl&gt;&lt;br&gt;www.atnel.pl&lt;/a&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;\r\n\r\n&lt;font color=#ff00ff size='6'&gt;&lt;b&gt;AVR - licznik wywołań strony: &quot;) );<br />uart_putint(++licz, 10);<br />uart_puts_P(PSTR(&quot;&lt;/b&gt;\n&lt;/font&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;font color='#0099FF' size='4'&gt;&lt;b&gt;------- Fromularz -------&lt;/b&gt;\n&lt;/font&gt;&lt;br&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;form&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;Podaj imię: &lt;input type=\&quot;text\&quot; name=\&quot;imie\&quot; /&gt;&lt;br&gt;&lt;br&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;Okresl swoj wiek: &lt;select name =\&quot;wiek\&quot;&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;option&gt;mniej niz 18&lt;/option&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;option&gt;18-25&lt;/option&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;option&gt;26-35&lt;/option&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;option&gt;36-45&lt;/option&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;option&gt;46-56&lt;/option&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;option&gt;wiecej niz 56&lt;/option&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;/select&gt;&lt;br&gt;&lt;br&gt;&quot;) );<br /><br />uart_puts_P(PSTR(&quot;&lt;button&gt;&lt;img src=\&quot;http://www.atnel.pl/atnel_send.png\&quot; /&gt; send ... &lt;/button&gt;&quot;) );<br />uart_puts_P(PSTR(&quot;&lt;/form&gt;&quot;));<br /><br /><br /><br />uart_puts_P(PSTR(&quot;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;&quot;) );<br /><br /><br />lcd_locate(0,0);<br />lcd_str(&quot;Ilosc wejsc &quot;);<br />lcd_int( licz );<br /><br />}[/syntax]<br /><br /><a href="https://obrazkiforum.atnel.pl/858/11010b34bee6be435cc61cfbad1379df.png"  class="postlink"><img src="https://obrazkiforum.atnel.pl/thumb/858/11010b34bee6be435cc61cfbad1379df.png" alt="Obrazek" /></a><br /><br />Pozdrawiam<br />Elektronik<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=858">Elektronik</a> — 17 sie 2015, o 17:59</p><hr />
]]></content>
</entry>
</feed>