123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.10"/>
- <title>CoffeePi: stripe.h Source File</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <script type="text/javascript">
- $(document).ready(function() { init_search(); });
- </script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">CoffeePi
- </div>
- <div id="projectbrief">Coffee machine control for Raspberry Pi</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.10 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="annotated.html"><span>Data Structures</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- <li>
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Search" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="files.html"><span>File List</span></a></li>
- <li><a href="globals.html"><span>Globals</span></a></li>
- </ul>
- </div>
- </div><!-- top -->
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <div class="header">
- <div class="headertitle">
- <div class="title">stripe.h</div> </div>
- </div><!--header-->
- <div class="contents">
- <a href="stripe_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
- <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * stripe.h</span></div>
- <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Created on: Sep 25, 2017</span></div>
- <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Author: Philipp Hinz</span></div>
- <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> */</span></div>
- <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div>
- <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#ifndef STRIPE_H_</span></div>
- <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#define STRIPE_H_</span></div>
- <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div>
- <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// i2c</span></div>
- <div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="stripe_8h.html#a52f9fc93ce25c487d4f72b9f2f400545"> 12</a></span> <span class="preprocessor">#define I2C_ADDRESS_STRIPE 0x69</span></div>
- <div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="stripe_8h.html#ad06bb775e1f72bc21a5f17a19eb62e80"> 13</a></span> <span class="preprocessor">#define STRIPE_CMD_SETR 0x01</span></div>
- <div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="stripe_8h.html#ac62893e9f8f3793a3f6de3338a9a93ff"> 14</a></span> <span class="preprocessor">#define STRIPE_CMD_SETG 0x02</span></div>
- <div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="stripe_8h.html#a25c93d4301c3ad1064adfb9eff952211"> 15</a></span> <span class="preprocessor">#define STRIPE_CMD_SETB 0x03</span></div>
- <div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="stripe_8h.html#a3c5fd782e0479daf6bb272d5197c8877"> 16</a></span> <span class="preprocessor">#define STRIPE_CMD_SETW 0x04</span></div>
- <div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="stripe_8h.html#aedb99f1c6b67c005f5a2cd6dea06c6b7"> 17</a></span> <span class="preprocessor">#define STRIPE_CMD_SETDIM 0x05</span></div>
- <div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="stripe_8h.html#ab495a56c339e141ecbecfd9872f81fbb"> 18</a></span> <span class="preprocessor">#define STRIPE_CMD_SET 0x06 // Bytes: DIM R G B W</span></div>
- <div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="stripe_8h.html#aead1e6fe1bdc60cade5b071a293864cc"> 19</a></span> <span class="preprocessor">#define STRIPE_CMD_SET2 0x07 // Bytes: DIM R G B</span></div>
- <div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="stripe_8h.html#a0a2c9ea1a805ca03af6c43c107c98e8e"> 20</a></span> <span class="preprocessor">#define STRIPE_CMD_RESET 0x09</span></div>
- <div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="stripe_8h.html#a14287ccb3789c724603c28910512a0b3"> 21</a></span> <span class="preprocessor">#define STRIPE_CMD_FADEOUT 0x0A // Bytes: TIMEH TIMEL</span></div>
- <div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="stripe_8h.html#a80ccf336e21703504faf1b3acba2c98b"> 22</a></span> <span class="preprocessor">#define STRIPE_CMD_FADETO 0x0B // Bytes: R G B W TIMEH TIMEL</span></div>
- <div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="stripe_8h.html#a2e4a6f31f6823ec2592e9216a51232f2"> 23</a></span> <span class="preprocessor">#define STRIPE_CMD_FADESTOP 0x0C</span></div>
- <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div>
- <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">// Color transient (fading) parameters</span></div>
- <div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="stripe_8h.html#aa761062faf633557e537e07a781965e9"> 26</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
- <div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="stripe_8h.html#aa761062faf633557e537e07a781965e9ad41450786f0c8b404231dfaff4c14931"> 27</a></span>  <a class="code" href="stripe_8h.html#aa761062faf633557e537e07a781965e9ad41450786f0c8b404231dfaff4c14931">TRANS_DIRECT</a> = 0,</div>
- <div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="stripe_8h.html#aa761062faf633557e537e07a781965e9a37991877080c17224eaa0268947a545c"> 28</a></span>  <a class="code" href="stripe_8h.html#aa761062faf633557e537e07a781965e9a37991877080c17224eaa0268947a545c">TRANS_FAST</a> = 6,</div>
- <div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="stripe_8h.html#aa761062faf633557e537e07a781965e9a26be047607e612751d1979597dd21185"> 29</a></span>  <a class="code" href="stripe_8h.html#aa761062faf633557e537e07a781965e9a26be047607e612751d1979597dd21185">TRANS_MEDIUM</a> = 35,</div>
- <div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="stripe_8h.html#aa761062faf633557e537e07a781965e9ad1105b7089df16f505a8c28ef4e31f04"> 30</a></span>  <a class="code" href="stripe_8h.html#aa761062faf633557e537e07a781965e9ad1105b7089df16f505a8c28ef4e31f04">TRANS_SLOW</a> = 200</div>
- <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> } <a class="code" href="stripe_8h.html#aa761062faf633557e537e07a781965e9">stripe_transient_t</a>;</div>
- <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div>
- <div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structstripe__color.html"> 33</a></span> <span class="keyword">struct </span><a class="code" href="structstripe__color.html">stripe_color</a> {</div>
- <div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structstripe__color.html#a784aa14cb8856664e9533883d8add33b"> 34</a></span>  <span class="keywordtype">int</span> <a class="code" href="structstripe__color.html#a784aa14cb8856664e9533883d8add33b">red</a> = 0;</div>
- <div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="structstripe__color.html#ab650b31353bfddd30e9ea11f8adb870f"> 35</a></span>  <span class="keywordtype">int</span> <a class="code" href="structstripe__color.html#ab650b31353bfddd30e9ea11f8adb870f">green</a> = 0;</div>
- <div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structstripe__color.html#a2de85b974fc4ec0bcea12d6a270e53a9"> 36</a></span>  <span class="keywordtype">int</span> <a class="code" href="structstripe__color.html#a2de85b974fc4ec0bcea12d6a270e53a9">blue</a> = 0;</div>
- <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> };</div>
- <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div>
- <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keywordtype">void</span> *<a class="code" href="stripe_8h.html#a914baf734bc672a910769802c1e882c8">stripeThread</a>(<span class="keywordtype">void</span> *threadid);</div>
- <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keywordtype">void</span> *<a class="code" href="stripe_8h.html#a630b80b8bd1e8a0f535b21a720de76b8">stripeTimerHandler</a>(<span class="keywordtype">void</span> *threadid);</div>
- <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#aec214522cff28dc1b0f20c2ec2870189">stripeInit</a>(<span class="keywordtype">void</span>);</div>
- <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keywordtype">int</span> <a class="code" href="stripe_8h.html#ab58f9b853bd6c2deb11f6b64e6275cd7">stripeCommand</a>(<span class="keywordtype">int</span> len, <span class="keywordtype">char</span>* data);</div>
- <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#a79a7d75b45ddbb2b3324ec450658136c">stripeUpdate</a>(<span class="keywordtype">void</span>);</div>
- <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#a849e5953dbdb82fb8405b1ab43067eed">stripeUpdateDim</a>(<span class="keywordtype">void</span>);</div>
- <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#a405699059b25eae6001d1e989a1da5d6">stripeSetRGB</a>(<span class="keywordtype">int</span> red, <span class="keywordtype">int</span> green, <span class="keywordtype">int</span> blue);</div>
- <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#a32197a6a1a75aaf54a2a19dbc31be4e0">stripeSetColor</a>(<a class="code" href="structstripe__color.html">stripe_color</a> color);</div>
- <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#a26524f75c9d72587489d20bba6c61da6">stripeSetTransient</a>(<a class="code" href="stripe_8h.html#aa761062faf633557e537e07a781965e9">stripe_transient_t</a> <span class="keyword">transient</span>);</div>
- <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#ade9bc3e5b3fabc99922d78df6ae96434">stripeSetDim</a>(<span class="keywordtype">int</span> dim);</div>
- <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#a2ae73653f2098fdae40bb0916949e77e">stripeSetWhite</a>(<span class="keywordtype">int</span> white);</div>
- <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#a9130dbeb208c1b9e5519834f7de6a530">stripeOn</a>(<span class="keywordtype">void</span>);</div>
- <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#a40d444a306464fa8547feea96737ae0d">stripeOff</a>(<span class="keywordtype">void</span>);</div>
- <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#ac5379b3ade62c829d19654c22efd90de">stripeGetRGB</a>(<span class="keywordtype">int</span>* red, <span class="keywordtype">int</span>* green, <span class="keywordtype">int</span>* blue);</div>
- <div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#ab479c1db854476cf80b86d1fe33a908e">stripeGetDim</a>(<span class="keywordtype">int</span>* dim);</div>
- <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#aa67941dfd018cc2e0ba62a76a3d9136d">stripeGetWhite</a>(<span class="keywordtype">int</span>* white);</div>
- <div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#a40cca6b9cc8aeca2f28442126528163b">stripeEffectDisable</a>(<span class="keywordtype">void</span>);</div>
- <div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#a97c35798100bbf3208fd15cc5615cd97">stripeEffectHeating</a>(<span class="keywordtype">int</span> percent);</div>
- <div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keywordtype">void</span> <a class="code" href="stripe_8h.html#aea3ed8a6a2d07ed7f8f2ff59f6fa3a01">stripeEffectPulse</a>(<a class="code" href="structstripe__color.html">stripe_color</a> color);</div>
- <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div>
- <div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor">#endif </span><span class="comment">/* STRIPE_H_ */</span><span class="preprocessor"></span></div>
- <div class="ttc" id="stripe_8h_html_aa761062faf633557e537e07a781965e9"><div class="ttname"><a href="stripe_8h.html#aa761062faf633557e537e07a781965e9">stripe_transient_t</a></div><div class="ttdeci">stripe_transient_t</div><div class="ttdef"><b>Definition:</b> stripe.h:26</div></div>
- <div class="ttc" id="stripe_8h_html_aa761062faf633557e537e07a781965e9a37991877080c17224eaa0268947a545c"><div class="ttname"><a href="stripe_8h.html#aa761062faf633557e537e07a781965e9a37991877080c17224eaa0268947a545c">TRANS_FAST</a></div><div class="ttdef"><b>Definition:</b> stripe.h:28</div></div>
- <div class="ttc" id="stripe_8h_html_a630b80b8bd1e8a0f535b21a720de76b8"><div class="ttname"><a href="stripe_8h.html#a630b80b8bd1e8a0f535b21a720de76b8">stripeTimerHandler</a></div><div class="ttdeci">void * stripeTimerHandler(void *threadid)</div><div class="ttdoc">This is the handler for time based stripe effects. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:30</div></div>
- <div class="ttc" id="stripe_8h_html_a2ae73653f2098fdae40bb0916949e77e"><div class="ttname"><a href="stripe_8h.html#a2ae73653f2098fdae40bb0916949e77e">stripeSetWhite</a></div><div class="ttdeci">void stripeSetWhite(int white)</div><div class="ttdoc">Updates the white value of the stripe (4th channel) </div><div class="ttdef"><b>Definition:</b> stripe.cpp:198</div></div>
- <div class="ttc" id="stripe_8h_html_ab479c1db854476cf80b86d1fe33a908e"><div class="ttname"><a href="stripe_8h.html#ab479c1db854476cf80b86d1fe33a908e">stripeGetDim</a></div><div class="ttdeci">void stripeGetDim(int *dim)</div><div class="ttdoc">Reads the current stripe dimmer value. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:236</div></div>
- <div class="ttc" id="stripe_8h_html_aa67941dfd018cc2e0ba62a76a3d9136d"><div class="ttname"><a href="stripe_8h.html#aa67941dfd018cc2e0ba62a76a3d9136d">stripeGetWhite</a></div><div class="ttdeci">void stripeGetWhite(int *white)</div><div class="ttdoc">Reads the current stripe white value (4th channel) </div><div class="ttdef"><b>Definition:</b> stripe.cpp:244</div></div>
- <div class="ttc" id="stripe_8h_html_a40cca6b9cc8aeca2f28442126528163b"><div class="ttname"><a href="stripe_8h.html#a40cca6b9cc8aeca2f28442126528163b">stripeEffectDisable</a></div><div class="ttdeci">void stripeEffectDisable(void)</div><div class="ttdoc">Stops current running effects. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:251</div></div>
- <div class="ttc" id="stripe_8h_html_aa761062faf633557e537e07a781965e9a26be047607e612751d1979597dd21185"><div class="ttname"><a href="stripe_8h.html#aa761062faf633557e537e07a781965e9a26be047607e612751d1979597dd21185">TRANS_MEDIUM</a></div><div class="ttdef"><b>Definition:</b> stripe.h:29</div></div>
- <div class="ttc" id="stripe_8h_html_a9130dbeb208c1b9e5519834f7de6a530"><div class="ttname"><a href="stripe_8h.html#a9130dbeb208c1b9e5519834f7de6a530">stripeOn</a></div><div class="ttdeci">void stripeOn(void)</div><div class="ttdoc">Turns the stripe on (Sets dimmer to 100%) </div><div class="ttdef"><b>Definition:</b> stripe.cpp:205</div></div>
- <div class="ttc" id="stripe_8h_html_a914baf734bc672a910769802c1e882c8"><div class="ttname"><a href="stripe_8h.html#a914baf734bc672a910769802c1e882c8">stripeThread</a></div><div class="ttdeci">void * stripeThread(void *threadid)</div><div class="ttdoc">Thread for the stripe control. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:45</div></div>
- <div class="ttc" id="structstripe__color_html"><div class="ttname"><a href="structstripe__color.html">stripe_color</a></div><div class="ttdef"><b>Definition:</b> stripe.h:33</div></div>
- <div class="ttc" id="stripe_8h_html_aa761062faf633557e537e07a781965e9ad1105b7089df16f505a8c28ef4e31f04"><div class="ttname"><a href="stripe_8h.html#aa761062faf633557e537e07a781965e9ad1105b7089df16f505a8c28ef4e31f04">TRANS_SLOW</a></div><div class="ttdef"><b>Definition:</b> stripe.h:30</div></div>
- <div class="ttc" id="structstripe__color_html_a784aa14cb8856664e9533883d8add33b"><div class="ttname"><a href="structstripe__color.html#a784aa14cb8856664e9533883d8add33b">stripe_color::red</a></div><div class="ttdeci">int red</div><div class="ttdef"><b>Definition:</b> stripe.h:34</div></div>
- <div class="ttc" id="structstripe__color_html_a2de85b974fc4ec0bcea12d6a270e53a9"><div class="ttname"><a href="structstripe__color.html#a2de85b974fc4ec0bcea12d6a270e53a9">stripe_color::blue</a></div><div class="ttdeci">int blue</div><div class="ttdef"><b>Definition:</b> stripe.h:36</div></div>
- <div class="ttc" id="stripe_8h_html_a79a7d75b45ddbb2b3324ec450658136c"><div class="ttname"><a href="stripe_8h.html#a79a7d75b45ddbb2b3324ec450658136c">stripeUpdate</a></div><div class="ttdeci">void stripeUpdate(void)</div><div class="ttdoc">Updates the color data and prepares the stripe command. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:119</div></div>
- <div class="ttc" id="stripe_8h_html_aea3ed8a6a2d07ed7f8f2ff59f6fa3a01"><div class="ttname"><a href="stripe_8h.html#aea3ed8a6a2d07ed7f8f2ff59f6fa3a01">stripeEffectPulse</a></div><div class="ttdeci">void stripeEffectPulse(stripe_color color)</div><div class="ttdoc">Enables pulsing with a given color of the stripe. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:276</div></div>
- <div class="ttc" id="stripe_8h_html_aec214522cff28dc1b0f20c2ec2870189"><div class="ttname"><a href="stripe_8h.html#aec214522cff28dc1b0f20c2ec2870189">stripeInit</a></div><div class="ttdeci">void stripeInit(void)</div><div class="ttdoc">Initializes i2c communication to stripe controller. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:78</div></div>
- <div class="ttc" id="stripe_8h_html_aa761062faf633557e537e07a781965e9ad41450786f0c8b404231dfaff4c14931"><div class="ttname"><a href="stripe_8h.html#aa761062faf633557e537e07a781965e9ad41450786f0c8b404231dfaff4c14931">TRANS_DIRECT</a></div><div class="ttdef"><b>Definition:</b> stripe.h:27</div></div>
- <div class="ttc" id="stripe_8h_html_a40d444a306464fa8547feea96737ae0d"><div class="ttname"><a href="stripe_8h.html#a40d444a306464fa8547feea96737ae0d">stripeOff</a></div><div class="ttdeci">void stripeOff(void)</div><div class="ttdoc">Turns the stripe on (Sets dimmer to 0%) </div><div class="ttdef"><b>Definition:</b> stripe.cpp:215</div></div>
- <div class="ttc" id="stripe_8h_html_a97c35798100bbf3208fd15cc5615cd97"><div class="ttname"><a href="stripe_8h.html#a97c35798100bbf3208fd15cc5615cd97">stripeEffectHeating</a></div><div class="ttdeci">void stripeEffectHeating(int percent)</div><div class="ttdoc">Sets the stripe to a correspondending color to the heating status. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:259</div></div>
- <div class="ttc" id="stripe_8h_html_ab58f9b853bd6c2deb11f6b64e6275cd7"><div class="ttname"><a href="stripe_8h.html#ab58f9b853bd6c2deb11f6b64e6275cd7">stripeCommand</a></div><div class="ttdeci">int stripeCommand(int len, char *data)</div><div class="ttdoc">Sends out command data to the stripe controller via i2c. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:101</div></div>
- <div class="ttc" id="stripe_8h_html_a26524f75c9d72587489d20bba6c61da6"><div class="ttname"><a href="stripe_8h.html#a26524f75c9d72587489d20bba6c61da6">stripeSetTransient</a></div><div class="ttdeci">void stripeSetTransient(stripe_transient_t transient)</div><div class="ttdoc">Updates the transient time for the stripe (fading) </div><div class="ttdef"><b>Definition:</b> stripe.cpp:182</div></div>
- <div class="ttc" id="structstripe__color_html_ab650b31353bfddd30e9ea11f8adb870f"><div class="ttname"><a href="structstripe__color.html#ab650b31353bfddd30e9ea11f8adb870f">stripe_color::green</a></div><div class="ttdeci">int green</div><div class="ttdef"><b>Definition:</b> stripe.h:35</div></div>
- <div class="ttc" id="stripe_8h_html_a405699059b25eae6001d1e989a1da5d6"><div class="ttname"><a href="stripe_8h.html#a405699059b25eae6001d1e989a1da5d6">stripeSetRGB</a></div><div class="ttdeci">void stripeSetRGB(int red, int green, int blue)</div><div class="ttdoc">Updates the color of the stripe. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:163</div></div>
- <div class="ttc" id="stripe_8h_html_ac5379b3ade62c829d19654c22efd90de"><div class="ttname"><a href="stripe_8h.html#ac5379b3ade62c829d19654c22efd90de">stripeGetRGB</a></div><div class="ttdeci">void stripeGetRGB(int *red, int *green, int *blue)</div><div class="ttdoc">Reads the current stripe color. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:226</div></div>
- <div class="ttc" id="stripe_8h_html_a32197a6a1a75aaf54a2a19dbc31be4e0"><div class="ttname"><a href="stripe_8h.html#a32197a6a1a75aaf54a2a19dbc31be4e0">stripeSetColor</a></div><div class="ttdeci">void stripeSetColor(stripe_color color)</div><div class="ttdoc">Updates the color of the stripe. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:174</div></div>
- <div class="ttc" id="stripe_8h_html_a849e5953dbdb82fb8405b1ab43067eed"><div class="ttname"><a href="stripe_8h.html#a849e5953dbdb82fb8405b1ab43067eed">stripeUpdateDim</a></div><div class="ttdeci">void stripeUpdateDim(void)</div><div class="ttdoc">Updates the dimmer value of the stripe. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:147</div></div>
- <div class="ttc" id="stripe_8h_html_ade9bc3e5b3fabc99922d78df6ae96434"><div class="ttname"><a href="stripe_8h.html#ade9bc3e5b3fabc99922d78df6ae96434">stripeSetDim</a></div><div class="ttdeci">void stripeSetDim(int dim)</div><div class="ttdoc">Updates the dimmer value of the stripe. </div><div class="ttdef"><b>Definition:</b> stripe.cpp:190</div></div>
- </div><!-- fragment --></div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.10
- </small></address>
- </body>
- </html>
|