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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2017-01-06T19:07:40+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=30&amp;t=17260&amp;mode</id>
<entry>
<author><name><![CDATA[majster]]></name></author>
<updated>2017-01-06T19:07:40+01:00</updated>
<published>2017-01-06T19:07:40+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17260&amp;p=179246#p179246</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17260&amp;p=179246#p179246"/>
<title type="html"><![CDATA[Re: Sterowanie latarki - ilość klików]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17260&amp;p=179246#p179246"><![CDATA[
Nie zagłębiałem się w kod ale wydaje mnie się, że to ten fragment:<br /><br />[syntax=c]//const uint8_t memarray&#91;&#93; = MODE_MEMORY;<br />  //mode_memory = memarray&#91;modesarr&#93;;<br />  //if (modesarr &gt; 7) {                                                    //7 klików<br />  //  mode_memory = 1;<br />  //}<br />  if (groupint == 2) {                                                     // 8 klików<br />      const uint8_t modes&#91;&#93; = GROUP01;<br />      get_mypwm(modes, sizeof(modes));<br />  } else if (groupint == 3) {                                            // 9 klików<br />      const uint8_t modes&#91;&#93; = GROUP02;<br />      get_mypwm(modes, sizeof(modes));<br />  } else if (groupint == 4) {                                            // 10 klików<br />      const uint8_t modes&#91;&#93; = GROUP03;<br />      get_mypwm(modes, sizeof(modes));<br />  } else if (groupint == 5) {                                            // 11 klików<br />      const uint8_t modes&#91;&#93; = GROUP04;<br />      get_mypwm(modes, sizeof(modes));<br />  } else if (groupint == 6) {                                            // 12 klików<br />      const uint8_t modes&#91;&#93; = GROUP05;<br />      get_mypwm(modes, sizeof(modes));<br />  } else if (groupint == 7) {                                            // 13 klików<br />      const uint8_t modes&#91;&#93; = GROUP06;<br />      get_mypwm(modes, sizeof(modes));<br />  } else {                                                                     // 14 i więcej klików<br />      const uint8_t modes&#91;&#93; = GROUP00;<br />      get_mypwm(modes, sizeof(modes));<br />  }[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1628">majster</a> — 6 sty 2017, o 19:07</p><hr />
]]></content>
</entry>
</feed>