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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2015-02-08T21:20:41+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=24&amp;t=10564&amp;mode</id>
<entry>
<author><name><![CDATA[WoodPaker]]></name></author>
<updated>2015-02-08T21:20:41+01:00</updated>
<published>2015-02-08T21:20:41+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117895#p117895</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117895#p117895"/>
<title type="html"><![CDATA[Re: [C] Haslo dostępu - LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117895#p117895"><![CDATA[
Znajdę to Ci podrzucę. Ale pomysł jest dość prosty. Pętla z której wychodzimy gdy zostanie podane właściwe hasło.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1425">WoodPaker</a> — 8 lut 2015, o 21:20</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Lex_]]></name></author>
<updated>2015-02-08T21:07:12+01:00</updated>
<published>2015-02-08T21:07:12+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117890#p117890</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117890#p117890"/>
<title type="html"><![CDATA[Re: [C] Haslo dostępu - LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117890#p117890"><![CDATA[
Kod nie jest mojego autorstwa. Wykorzystałem z TUXGRPHICS pana Guido Socher i dokładnie stworzony jest do logowania na stronie www więc może wymagać poprawy czy dopasowania do własnego projektu.<br /><br />Pod bibliotekami wrzucasz coś takiego:<br />[syntax=c]static char password&#91;7&#93;=&quot;haslo&quot;;[/syntax]<br /><br />Sama funkcja jest prosta:<br /><br />[syntax=c]uint8_t verify_password(char *str)<br />{<br />        //otrzymanie stringa password:<br />        if (strncmp(password,str,strlen(password))==0){<br />                return(1); <br />        }<br />        return(0);<br />}[/syntax]<br /><br /><strong>strncmp</strong> - porównuje dwa stringi;<br /><strong>strlen</strong> - sprawdza długośc;<br /><br />Obie funkcje są w bibliotece string.h<br /><br />Mam nadzieję, że jakoś pomogłem.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2676">Lex_</a> — 8 lut 2015, o 21:07</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Morcinek92]]></name></author>
<updated>2015-02-08T20:08:48+01:00</updated>
<published>2015-02-08T20:08:48+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117882#p117882</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117882#p117882"/>
<title type="html"><![CDATA[Re: [C] Haslo dostępu - LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117882#p117882"><![CDATA[
No byłbym CI bardzo wdzięczny gdybyś coś takiego miał i chciałbyś się ze mną podzielić <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=903">Morcinek92</a> — 8 lut 2015, o 20:08</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Lex_]]></name></author>
<updated>2015-02-08T20:04:28+01:00</updated>
<published>2015-02-08T20:04:28+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117879#p117879</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117879#p117879"/>
<title type="html"><![CDATA[Re: [C] Haslo dostępu - LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117879#p117879"><![CDATA[
heja - jak potrzebne to poszukam bo mam coś takiego.<br /><br />Możesz je potem zmienić na jakie zechcesz.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2676">Lex_</a> — 8 lut 2015, o 20:04</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Morcinek92]]></name></author>
<updated>2015-02-08T19:50:13+01:00</updated>
<published>2015-02-08T19:50:13+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117875#p117875</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117875#p117875"/>
<title type="html"><![CDATA[Re: [C] Haslo dostępu - LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117875#p117875"><![CDATA[
Mógłbyś pokazać mi ten kod, bądź źródło gdzie go widziałeś<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=903">Morcinek92</a> — 8 lut 2015, o 19:50</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[WoodPaker]]></name></author>
<updated>2015-02-08T19:43:39+01:00</updated>
<published>2015-02-08T19:43:39+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117873#p117873</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117873#p117873"/>
<title type="html"><![CDATA[Re: [C] Haslo dostępu - LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117873#p117873"><![CDATA[
Odpowiadając na pytanie. Tak ale bez możliwości zmiany (na sztywno wpisane w programie).<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1425">WoodPaker</a> — 8 lut 2015, o 19:43</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Morcinek92]]></name></author>
<updated>2015-02-08T18:47:53+01:00</updated>
<published>2015-02-08T18:47:53+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117854#p117854</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117854#p117854"/>
<title type="html"><![CDATA[[C] Haslo dostępu - LCD]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10564&amp;p=117854#p117854"><![CDATA[
Hejka, <br /><br />Czy ktoś robił z Was hasło dostępu np. do menu? <br />Nie umiem znaleźć takich przykładowych rozwiązań może ktoś coś , gdzieś widział i się może podzielić , bądź sam takie coś stworzył .<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=903">Morcinek92</a> — 8 lut 2015, o 18:47</p><hr />
]]></content>
</entry>
</feed>