Updated docu.

This commit is contained in:
Timo Lang
2015-06-08 11:04:50 +02:00
parent 86eb39b3a8
commit 42b6e3af36
202 changed files with 11953 additions and 976 deletions

View File

@@ -109,7 +109,9 @@ Include dependency graph for screen_pixytest.c:</div>
<map name="common_2app_2screen__pixytest_8c" id="common_2app_2screen__pixytest_8c">
<area shape="rect" id="node2" href="screen__pixytest_8h.html" title="screen_pixytest.h" alt="" coords="20,80,145,107"/><area shape="rect" id="node6" href="button_8h.html" title="button.h" alt="" coords="493,155,562,181"/><area shape="rect" id="node7" href="touch_8h.html" title="touch.h" alt="" coords="496,229,562,256"/><area shape="rect" id="node9" href="numupdown_8h.html" title="numupdown.h" alt="" coords="504,80,607,107"/><area shape="rect" id="node10" href="tft_8h.html" title="tft.h" alt="" coords="428,229,472,256"/><area shape="rect" id="node11" href="pixy_8h.html" title="pixy.h" alt="" coords="632,80,688,107"/><area shape="rect" id="node13" href="system_8h.html" title="system.h" alt="" coords="276,229,352,256"/><area shape="rect" id="node14" href="pixy__frame_8h.html" title="pixy_frame.h" alt="" coords="169,155,265,181"/><area shape="rect" id="node3" href="screen_8h.html" title="screen.h" alt="" coords="18,155,90,181"/><area shape="rect" id="node12" href="pixydefs_8h.html" title="pixydefs.h" alt="" coords="638,155,719,181"/><area shape="rect" id="node15" href="filesystem_8h.html" title="filesystem.h" alt="" coords="160,229,252,256"/></map>
</div>
</div><table class="memberdecls">
</div>
<p><a href="screen__pixytest_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:af043ebace98de8929bd147634673743e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="screen__pixytest_8c.html#af043ebace98de8929bd147634673743e">SERVO_BUTTON_Y</a>&#160;&#160;&#160;10</td></tr>
@@ -294,6 +296,15 @@ Variables</h2></td></tr>
</td></tr>
</table>
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00030">30</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{<a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a7689d85a4508e742b3263bbee54cdbdd">detecting</a>, <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>, <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a>, <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a>, <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7afa956cdf05831462f04238d2946d54e4">update_ledcurrent</a>} <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a>; <span class="comment">//Current state of the screen state machine</span></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a7689d85a4508e742b3263bbee54cdbdd"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a7689d85a4508e742b3263bbee54cdbdd">detecting</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7afa956cdf05831462f04238d2946d54e4"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7afa956cdf05831462f04238d2946d54e4">update_ledcurrent</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
@@ -319,6 +330,12 @@ Variables</h2></td></tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00053">53</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;{</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="code" href="group__screen.html#ga8e14bc7ee0214e2926965f9bdb54a866">gui_screen_back</a>();</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;}</div>
<div class="ttc" id="group__screen_html_ga8e14bc7ee0214e2926965f9bdb54a866"><div class="ttname"><a href="group__screen.html#ga8e14bc7ee0214e2926965f9bdb54a866">gui_screen_back</a></div><div class="ttdeci">bool gui_screen_back()</div><div class="ttdef"><b>Definition:</b> <a href="screen_8c_source.html#l00085">screen.c:85</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
@@ -361,6 +378,18 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00135">135</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;{</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> == <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>) {</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <a class="code" href="screen__pixytest_8c.html#a230b340b4c3998d343da8186aaba3500">led_color</a> = 0x0000FF;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a>;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; }</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a230b340b4c3998d343da8186aaba3500"><div class="ttname"><a href="screen__pixytest_8c.html#a230b340b4c3998d343da8186aaba3500">led_color</a></div><div class="ttdeci">static uint32_t led_color</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00047">screen_pixytest.c:47</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -394,6 +423,18 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00127">127</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;{</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> == <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>) {</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <a class="code" href="screen__pixytest_8c.html#a230b340b4c3998d343da8186aaba3500">led_color</a> = 0x00FF00;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; }</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a230b340b4c3998d343da8186aaba3500"><div class="ttname"><a href="screen__pixytest_8c.html#a230b340b4c3998d343da8186aaba3500">led_color</a></div><div class="ttdeci">static uint32_t led_color</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00047">screen_pixytest.c:47</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -427,6 +468,18 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00103">103</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;{</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> == <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>) {</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <a class="code" href="screen__pixytest_8c.html#a230b340b4c3998d343da8186aaba3500">led_color</a> = 0x000000;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; }</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a230b340b4c3998d343da8186aaba3500"><div class="ttname"><a href="screen__pixytest_8c.html#a230b340b4c3998d343da8186aaba3500">led_color</a></div><div class="ttdeci">static uint32_t led_color</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00047">screen_pixytest.c:47</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -460,6 +513,18 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00119">119</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;{</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> == <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>) {</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <a class="code" href="screen__pixytest_8c.html#a230b340b4c3998d343da8186aaba3500">led_color</a> = 0xFF0000;</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a>;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; }</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a230b340b4c3998d343da8186aaba3500"><div class="ttname"><a href="screen__pixytest_8c.html#a230b340b4c3998d343da8186aaba3500">led_color</a></div><div class="ttdeci">static uint32_t led_color</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00047">screen_pixytest.c:47</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -493,6 +558,18 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00111">111</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;{</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> == <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>) {</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="code" href="screen__pixytest_8c.html#a230b340b4c3998d343da8186aaba3500">led_color</a> = 0xFFFFFF;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a>;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; }</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a230b340b4c3998d343da8186aaba3500"><div class="ttname"><a href="screen__pixytest_8c.html#a230b340b4c3998d343da8186aaba3500">led_color</a></div><div class="ttdeci">static uint32_t led_color</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00047">screen_pixytest.c:47</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -526,6 +603,20 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00085">85</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;{</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> == <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>) {</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <a class="code" href="screen__pixytest_8c.html#a8184234e1ba58053466062e14933bae7">servo_x</a> = 0;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="screen__pixytest_8c.html#a3e9f071aa3313583a8a88d672bafaa20">servo_y</a> = 1000;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a>;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; }</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a8184234e1ba58053466062e14933bae7"><div class="ttname"><a href="screen__pixytest_8c.html#a8184234e1ba58053466062e14933bae7">servo_x</a></div><div class="ttdeci">static uint16_t servo_x</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00039">screen_pixytest.c:39</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a3e9f071aa3313583a8a88d672bafaa20"><div class="ttname"><a href="screen__pixytest_8c.html#a3e9f071aa3313583a8a88d672bafaa20">servo_y</a></div><div class="ttdeci">static uint16_t servo_y</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00040">screen_pixytest.c:40</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -559,6 +650,20 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00094">94</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;{</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> == <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>) {</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="screen__pixytest_8c.html#a8184234e1ba58053466062e14933bae7">servo_x</a> = 1000;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <a class="code" href="screen__pixytest_8c.html#a3e9f071aa3313583a8a88d672bafaa20">servo_y</a> = 1000;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; }</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a8184234e1ba58053466062e14933bae7"><div class="ttname"><a href="screen__pixytest_8c.html#a8184234e1ba58053466062e14933bae7">servo_x</a></div><div class="ttdeci">static uint16_t servo_x</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00039">screen_pixytest.c:39</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a3e9f071aa3313583a8a88d672bafaa20"><div class="ttname"><a href="screen__pixytest_8c.html#a3e9f071aa3313583a8a88d672bafaa20">servo_y</a></div><div class="ttdeci">static uint16_t servo_y</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00040">screen_pixytest.c:40</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -592,6 +697,20 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00058">58</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;{</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> == <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>) {</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="screen__pixytest_8c.html#a8184234e1ba58053466062e14933bae7">servo_x</a> = 500;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <a class="code" href="screen__pixytest_8c.html#a3e9f071aa3313583a8a88d672bafaa20">servo_y</a> = 500;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; }</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a8184234e1ba58053466062e14933bae7"><div class="ttname"><a href="screen__pixytest_8c.html#a8184234e1ba58053466062e14933bae7">servo_x</a></div><div class="ttdeci">static uint16_t servo_x</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00039">screen_pixytest.c:39</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a3e9f071aa3313583a8a88d672bafaa20"><div class="ttname"><a href="screen__pixytest_8c.html#a3e9f071aa3313583a8a88d672bafaa20">servo_y</a></div><div class="ttdeci">static uint16_t servo_y</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00040">screen_pixytest.c:40</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -625,6 +744,20 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00067">67</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;{</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> == <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>) {</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <a class="code" href="screen__pixytest_8c.html#a8184234e1ba58053466062e14933bae7">servo_x</a> = 0;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <a class="code" href="screen__pixytest_8c.html#a3e9f071aa3313583a8a88d672bafaa20">servo_y</a> = 0;</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; }</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a8184234e1ba58053466062e14933bae7"><div class="ttname"><a href="screen__pixytest_8c.html#a8184234e1ba58053466062e14933bae7">servo_x</a></div><div class="ttdeci">static uint16_t servo_x</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00039">screen_pixytest.c:39</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a3e9f071aa3313583a8a88d672bafaa20"><div class="ttname"><a href="screen__pixytest_8c.html#a3e9f071aa3313583a8a88d672bafaa20">servo_y</a></div><div class="ttdeci">static uint16_t servo_y</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00040">screen_pixytest.c:40</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -658,6 +791,20 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00076">76</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;{</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> == <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>) {</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <a class="code" href="screen__pixytest_8c.html#a8184234e1ba58053466062e14933bae7">servo_x</a> = 1000;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="screen__pixytest_8c.html#a3e9f071aa3313583a8a88d672bafaa20">servo_y</a> = 0;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a>;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; }</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a8184234e1ba58053466062e14933bae7"><div class="ttname"><a href="screen__pixytest_8c.html#a8184234e1ba58053466062e14933bae7">servo_x</a></div><div class="ttdeci">static uint16_t servo_x</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00039">screen_pixytest.c:39</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a3e9f071aa3313583a8a88d672bafaa20"><div class="ttname"><a href="screen__pixytest_8c.html#a3e9f071aa3313583a8a88d672bafaa20">servo_y</a></div><div class="ttdeci">static uint16_t servo_y</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00040">screen_pixytest.c:40</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -691,6 +838,219 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00151">151</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;{</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <a class="code" href="group__tft.html#ga6a2e3b3878ae5eea184d4c3ffe091b78">tft_clear</a>(<a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>);</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="comment">//Back button</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <a class="code" href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a> = 10; <span class="comment">//Start X of Button</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="code" href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">y1</a> = 210; <span class="comment">//Start Y of Button</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <a class="code" href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>; <span class="comment">//Auto Calculate X2 with String Width</span></div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">y2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>; <span class="comment">//Auto Calculate Y2 with String Height</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <a class="code" href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">txtcolor</a> = <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>; <span class="comment">//Set foreground color</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <a class="code" href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">bgcolor</a> = <a class="code" href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a>(0xAE1010); <span class="comment">//Set background color (Don&#39;t take 255 or 0 on at least one channel, to make shadows possible)</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <a class="code" href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">font</a> = 0; <span class="comment">//Select Font</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <a class="code" href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">text</a> = <span class="stringliteral">&quot;Back&quot;</span>; <span class="comment">//Set Text (For formatted strings take sprintf)</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <a class="code" href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">callback</a> = <a class="code" href="screen__pixytest_8c.html#a26b5a87b61eb1cd0888fdfc12a91a6d7">b_back_cb</a>; <span class="comment">//Call b_back_cb as Callback</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&amp;<a class="code" href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>); <span class="comment">//Register Button (and run the callback from now on)</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="comment">//Servo stuff</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;<span class="preprocessor">#define SERVO_BUTTON_Y 10</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;<span class="preprocessor">#define SERVO_BUTTON_SPACING 5</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <a class="code" href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a>(5, <a class="code" href="screen__pixytest_8c.html#af043ebace98de8929bd147634673743e">SERVO_BUTTON_Y</a>, <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>, <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">&quot;Servos:&quot;</span>);</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <a class="code" href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a> = 55;</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <a class="code" href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">y1</a> = <a class="code" href="screen__pixytest_8c.html#af043ebace98de8929bd147634673743e">SERVO_BUTTON_Y</a> - 3;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <a class="code" href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <a class="code" href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">y2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <a class="code" href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">txtcolor</a> = <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <a class="code" href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">bgcolor</a> = <a class="code" href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a>(0xAE1010);</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <a class="code" href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">font</a> = 0;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <a class="code" href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">text</a> = <span class="stringliteral">&quot;Center&quot;</span>;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <a class="code" href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">callback</a> = <a class="code" href="screen__pixytest_8c.html#afafa1aca162346e70bd8b03d046f688d">b_servos_center_cb</a>;</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&amp;<a class="code" href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a>);</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <a class="code" href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a> = <a class="code" href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> + <a class="code" href="screen__pixytest_8c.html#a61f6199ab9d14cc55be19847add309c3">SERVO_BUTTON_SPACING</a>;</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <a class="code" href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">y1</a> = <a class="code" href="screen__pixytest_8c.html#af043ebace98de8929bd147634673743e">SERVO_BUTTON_Y</a> - 3;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <a class="code" href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <a class="code" href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">y2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <a class="code" href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">txtcolor</a> = <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>;</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <a class="code" href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">bgcolor</a> = <a class="code" href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a>(0xAE1010);</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <a class="code" href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">font</a> = 0;</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <a class="code" href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">text</a> = <span class="stringliteral">&quot;ToLe&quot;</span>;</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <a class="code" href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">callback</a> = <a class="code" href="screen__pixytest_8c.html#adaae997e56e5f71dff07650e0fccdbab">b_servos_topleft_cb</a>;</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&amp;<a class="code" href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a>);</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <a class="code" href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a> = <a class="code" href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> + <a class="code" href="screen__pixytest_8c.html#a61f6199ab9d14cc55be19847add309c3">SERVO_BUTTON_SPACING</a>;</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <a class="code" href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">y1</a> = <a class="code" href="screen__pixytest_8c.html#af043ebace98de8929bd147634673743e">SERVO_BUTTON_Y</a> - 3;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <a class="code" href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <a class="code" href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">y2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <a class="code" href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">txtcolor</a> = <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>;</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <a class="code" href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">bgcolor</a> = <a class="code" href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a>(0xAE1010);</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <a class="code" href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">font</a> = 0;</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <a class="code" href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">text</a> = <span class="stringliteral">&quot;ToRi&quot;</span>;</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <a class="code" href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">callback</a> = <a class="code" href="screen__pixytest_8c.html#a5aeb52abd0731f4db0537d47c296cc24">b_servos_topright_cb</a>;</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&amp;<a class="code" href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a>);</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <a class="code" href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a> = <a class="code" href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> + <a class="code" href="screen__pixytest_8c.html#a61f6199ab9d14cc55be19847add309c3">SERVO_BUTTON_SPACING</a>;</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <a class="code" href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">y1</a> = <a class="code" href="screen__pixytest_8c.html#af043ebace98de8929bd147634673743e">SERVO_BUTTON_Y</a> - 3;</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <a class="code" href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <a class="code" href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">y2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <a class="code" href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">txtcolor</a> = <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>;</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <a class="code" href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">bgcolor</a> = <a class="code" href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a>(0xAE1010);</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <a class="code" href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">font</a> = 0;</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <a class="code" href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">text</a> = <span class="stringliteral">&quot;BoLe&quot;</span>;</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <a class="code" href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">callback</a> = <a class="code" href="screen__pixytest_8c.html#adfa97285ff9460b593bb54574a880228">b_servos_bottomleft_cb</a>;</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&amp;<a class="code" href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a>);</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <a class="code" href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a> = <a class="code" href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> + <a class="code" href="screen__pixytest_8c.html#a61f6199ab9d14cc55be19847add309c3">SERVO_BUTTON_SPACING</a>;</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <a class="code" href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">y1</a> = <a class="code" href="screen__pixytest_8c.html#af043ebace98de8929bd147634673743e">SERVO_BUTTON_Y</a> - 3;</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <a class="code" href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <a class="code" href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">y2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <a class="code" href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">txtcolor</a> = <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>;</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <a class="code" href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">bgcolor</a> = <a class="code" href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a>(0xAE1010);</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <a class="code" href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">font</a> = 0;</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <a class="code" href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">text</a> = <span class="stringliteral">&quot;BoRi&quot;</span>;</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <a class="code" href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">callback</a> = <a class="code" href="screen__pixytest_8c.html#a9431d0f00cbebabe92c9db9ca33febfa">b_servos_bottomright_cb</a>;</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&amp;<a class="code" href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a>);</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="comment">//Led Color stuff</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;<span class="preprocessor">#define LED_COLOR_BUTTON_Y 35</span></div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;<span class="preprocessor">#define LED_COLOR_BUTTON_SPACING 5</span></div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <a class="code" href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a>(5, <a class="code" href="screen__pixytest_8c.html#aa1c7e63235f9f63a759ea7e5a0c26b83">LED_COLOR_BUTTON_Y</a>, <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>, <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">&quot;Led Color:&quot;</span>);</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <a class="code" href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a> = 85;</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <a class="code" href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">y1</a> = <a class="code" href="screen__pixytest_8c.html#aa1c7e63235f9f63a759ea7e5a0c26b83">LED_COLOR_BUTTON_Y</a> - 3;</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <a class="code" href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <a class="code" href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">y2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <a class="code" href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">txtcolor</a> = <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>;</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <a class="code" href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">bgcolor</a> = <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>;</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <a class="code" href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">font</a> = 0;</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <a class="code" href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">text</a> = <span class="stringliteral">&quot;Off&quot;</span>;</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <a class="code" href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">callback</a> = <a class="code" href="screen__pixytest_8c.html#a26fb89d09091b2796fde75c0f5bf82d8">b_led_off_cb</a>;</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&amp;<a class="code" href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a>);</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <a class="code" href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a> = <a class="code" href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> + <a class="code" href="screen__pixytest_8c.html#a3f1abd08d10208e27c971ef4d402c4ef">LED_COLOR_BUTTON_SPACING</a>;</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; <a class="code" href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">y1</a> = <a class="code" href="screen__pixytest_8c.html#aa1c7e63235f9f63a759ea7e5a0c26b83">LED_COLOR_BUTTON_Y</a> - 3;</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <a class="code" href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <a class="code" href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">y2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <a class="code" href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">txtcolor</a> = <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>;</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <a class="code" href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">bgcolor</a> = <a class="code" href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a>(0xEEEEEE);</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <a class="code" href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">font</a> = 0;</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <a class="code" href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">text</a> = <span class="stringliteral">&quot;White&quot;</span>;</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <a class="code" href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">callback</a> = <a class="code" href="screen__pixytest_8c.html#a9bbf0c7577695231d5f8ad6ea38ef3e2">b_led_white_cb</a>;</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&amp;<a class="code" href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a>);</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <a class="code" href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a> = <a class="code" href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> + <a class="code" href="screen__pixytest_8c.html#a3f1abd08d10208e27c971ef4d402c4ef">LED_COLOR_BUTTON_SPACING</a>;</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <a class="code" href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">y1</a> = <a class="code" href="screen__pixytest_8c.html#aa1c7e63235f9f63a759ea7e5a0c26b83">LED_COLOR_BUTTON_Y</a> - 3;</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <a class="code" href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <a class="code" href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">y2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <a class="code" href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">txtcolor</a> = <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>;</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; <a class="code" href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">bgcolor</a> = <a class="code" href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a>(0xEE0000);</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; <a class="code" href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">font</a> = 0;</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <a class="code" href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">text</a> = <span class="stringliteral">&quot;Red&quot;</span>;</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <a class="code" href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">callback</a> = <a class="code" href="screen__pixytest_8c.html#ac936d4c15a496aedc9c0285c6da36968">b_led_red_cb</a>;</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&amp;<a class="code" href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a>);</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160;</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <a class="code" href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a> = <a class="code" href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> + <a class="code" href="screen__pixytest_8c.html#a3f1abd08d10208e27c971ef4d402c4ef">LED_COLOR_BUTTON_SPACING</a>;</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <a class="code" href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">y1</a> = <a class="code" href="screen__pixytest_8c.html#aa1c7e63235f9f63a759ea7e5a0c26b83">LED_COLOR_BUTTON_Y</a> - 3;</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <a class="code" href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <a class="code" href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">y2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <a class="code" href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">txtcolor</a> = <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>;</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <a class="code" href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">bgcolor</a> = <a class="code" href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a>(0x00EE00);</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; <a class="code" href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">font</a> = 0;</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <a class="code" href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">text</a> = <span class="stringliteral">&quot;Green&quot;</span>;</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <a class="code" href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">callback</a> = <a class="code" href="screen__pixytest_8c.html#a047e6035ae52e61ab0723069412e19a7">b_led_green_cb</a>;</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&amp;<a class="code" href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a>);</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <a class="code" href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">x1</a> = <a class="code" href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> + <a class="code" href="screen__pixytest_8c.html#a3f1abd08d10208e27c971ef4d402c4ef">LED_COLOR_BUTTON_SPACING</a>;</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <a class="code" href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">y1</a> = <a class="code" href="screen__pixytest_8c.html#aa1c7e63235f9f63a759ea7e5a0c26b83">LED_COLOR_BUTTON_Y</a> - 3;</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <a class="code" href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">x2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; <a class="code" href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">base</a>.<a class="code" href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">y2</a> = <a class="code" href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a>;</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <a class="code" href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">txtcolor</a> = <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>;</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <a class="code" href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">bgcolor</a> = <a class="code" href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a>(0x0000EE);</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <a class="code" href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">font</a> = 0;</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; <a class="code" href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">text</a> = <span class="stringliteral">&quot;Blue&quot;</span>;</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <a class="code" href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a>.<a class="code" href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">callback</a> = <a class="code" href="screen__pixytest_8c.html#acba93301521436f0dd9ea88d675691c2">b_led_blue_cb</a>;</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <a class="code" href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a>(&amp;<a class="code" href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a>);</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <span class="comment">//Led MaxPower stuff</span></div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;<span class="preprocessor">#define LED_POWER_BUTTON_Y 70</span></div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <a class="code" href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a>(5, <a class="code" href="screen__pixytest_8c.html#a3caba4698a10a53c798ecdf5d2d0d7de">LED_POWER_BUTTON_Y</a>, <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>, <a class="code" href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a>, 0, <span class="stringliteral">&quot;Led Maximum Current:&quot;</span>);</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="comment">//Num up down test</span></div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <a class="code" href="screen__pixytest_8c.html#a36e8cc311c87d4ef3e467b4f6e9e1e2e">n_led_powerlimit</a>.<a class="code" href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#a4dde988b1b2adba65ae3efa69f65d960">x</a> = 160;</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <a class="code" href="screen__pixytest_8c.html#a36e8cc311c87d4ef3e467b4f6e9e1e2e">n_led_powerlimit</a>.<a class="code" href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#ab0580f504a7428539be299fa71565f30">y</a> = <a class="code" href="screen__pixytest_8c.html#a3caba4698a10a53c798ecdf5d2d0d7de">LED_POWER_BUTTON_Y</a> - 7;</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <a class="code" href="screen__pixytest_8c.html#a36e8cc311c87d4ef3e467b4f6e9e1e2e">n_led_powerlimit</a>.<a class="code" href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#a78bc63a5b9272aa4a69d6ceea4e65902">fgcolor</a> = <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>;</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; <a class="code" href="screen__pixytest_8c.html#a36e8cc311c87d4ef3e467b4f6e9e1e2e">n_led_powerlimit</a>.<a class="code" href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#a7375fa3485ce43bbc621f90ce895d52a">value</a> = 10;</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <a class="code" href="screen__pixytest_8c.html#a36e8cc311c87d4ef3e467b4f6e9e1e2e">n_led_powerlimit</a>.<a class="code" href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#a43a190f55cab9276eb1d6b6a4f453ccf">max</a> = 40;</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <a class="code" href="screen__pixytest_8c.html#a36e8cc311c87d4ef3e467b4f6e9e1e2e">n_led_powerlimit</a>.<a class="code" href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#a29dc67311876da954d1fb5911f161fed">min</a> = 0;</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; <a class="code" href="screen__pixytest_8c.html#a36e8cc311c87d4ef3e467b4f6e9e1e2e">n_led_powerlimit</a>.<a class="code" href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#a70d80bf3a066e14217829f05fa3600f8">callback</a> = <a class="code" href="screen__pixytest_8c.html#a6257e15ffef64770bc3c744f0ef0208a">n_led_powerlimit_cb</a>;</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; <a class="code" href="group__numupdown.html#gab4321e7fc0810ee30355bc7d0a3372db">gui_numupdown_add</a>(&amp;<a class="code" href="screen__pixytest_8c.html#a36e8cc311c87d4ef3e467b4f6e9e1e2e">n_led_powerlimit</a>);</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a7689d85a4508e742b3263bbee54cdbdd">detecting</a>;</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_a26b5a87b61eb1cd0888fdfc12a91a6d7"><div class="ttname"><a href="screen__pixytest_8c.html#a26b5a87b61eb1cd0888fdfc12a91a6d7">b_back_cb</a></div><div class="ttdeci">static void b_back_cb(void *button)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00053">screen_pixytest.c:53</a></div></div>
<div class="ttc" id="struct_b_u_t_t_o_n___s_t_r_u_c_t_html_a16343090e80c4472521560f30113d96c"><div class="ttname"><a href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a16343090e80c4472521560f30113d96c">BUTTON_STRUCT::text</a></div><div class="ttdeci">const char * text</div><div class="ttdoc">The label of the button. </div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00061">button.h:61</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_acba93301521436f0dd9ea88d675691c2"><div class="ttname"><a href="screen__pixytest_8c.html#acba93301521436f0dd9ea88d675691c2">b_led_blue_cb</a></div><div class="ttdeci">static void b_led_blue_cb(void *button)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00135">screen_pixytest.c:135</a></div></div>
<div class="ttc" id="struct_b_u_t_t_o_n___s_t_r_u_c_t_html_aaf5a5af411fa69950e0b4415c8089c8b"><div class="ttname"><a href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aaf5a5af411fa69950e0b4415c8089c8b">BUTTON_STRUCT::txtcolor</a></div><div class="ttdeci">uint16_t txtcolor</div><div class="ttdoc">The 16-bit text color. </div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00059">button.h:59</a></div></div>
<div class="ttc" id="group__button_html_ga0cc6f7717df9fbdc0f33efb88720a639"><div class="ttname"><a href="group__button.html#ga0cc6f7717df9fbdc0f33efb88720a639">AUTO</a></div><div class="ttdeci">#define AUTO</div><div class="ttdoc">Use this value instead of x2, y2 in the BUTTON_STRUCT to autocalculate the button width/height...</div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00065">button.h:65</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_af043ebace98de8929bd147634673743e"><div class="ttname"><a href="screen__pixytest_8c.html#af043ebace98de8929bd147634673743e">SERVO_BUTTON_Y</a></div><div class="ttdeci">#define SERVO_BUTTON_Y</div></div>
<div class="ttc" id="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t_html_a4dde988b1b2adba65ae3efa69f65d960"><div class="ttname"><a href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#a4dde988b1b2adba65ae3efa69f65d960">NUMUPDOWN_STRUCT::x</a></div><div class="ttdeci">uint16_t x</div><div class="ttdoc">The x-Coordinate of the Top-Left Starting Point. </div><div class="ttdef"><b>Definition:</b> <a href="numupdown_8h_source.html#l00049">numupdown.h:49</a></div></div>
<div class="ttc" id="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t_html_a47ada631c22a9d40348069145654f255"><div class="ttname"><a href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#a47ada631c22a9d40348069145654f255">TOUCH_AREA_STRUCT::y1</a></div><div class="ttdeci">uint16_t y1</div><div class="ttdoc">Top Left Y-Coordinate of Area. </div><div class="ttdef"><b>Definition:</b> <a href="touch_8h_source.html#l00075">touch.h:75</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a31c32762a466ff596f6aad802dc0687d"><div class="ttname"><a href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a></div><div class="ttdeci">static BUTTON_STRUCT b_led_green</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00045">screen_pixytest.c:45</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_adfa97285ff9460b593bb54574a880228"><div class="ttname"><a href="screen__pixytest_8c.html#adfa97285ff9460b593bb54574a880228">b_servos_bottomleft_cb</a></div><div class="ttdeci">static void b_servos_bottomleft_cb(void *button)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00085">screen_pixytest.c:85</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a7689d85a4508e742b3263bbee54cdbdd"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a7689d85a4508e742b3263bbee54cdbdd">detecting</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="group__button_html_ga64d5d2aaff2c917e5d43e7ed849607de"><div class="ttname"><a href="group__button.html#ga64d5d2aaff2c917e5d43e7ed849607de">gui_button_add</a></div><div class="ttdeci">bool gui_button_add(BUTTON_STRUCT *button)</div><div class="ttdef"><b>Definition:</b> <a href="button_8c_source.html#l00133">button.c:133</a></div></div>
<div class="ttc" id="group__tft_html_gabf54943131990b366ce6875a0e1925f6"><div class="ttname"><a href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a></div><div class="ttdeci">void tft_print_line(uint16_t x, uint16_t y, uint16_t color, uint16_t bgcolor, uint8_t font, const char *text)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8c_source.html#l00098">tft.c:98</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a047e6035ae52e61ab0723069412e19a7"><div class="ttname"><a href="screen__pixytest_8c.html#a047e6035ae52e61ab0723069412e19a7">b_led_green_cb</a></div><div class="ttdeci">static void b_led_green_cb(void *button)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00127">screen_pixytest.c:127</a></div></div>
<div class="ttc" id="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t_html_aedb5fdfe3c1d1a915b668ba7f3950753"><div class="ttname"><a href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aedb5fdfe3c1d1a915b668ba7f3950753">TOUCH_AREA_STRUCT::x1</a></div><div class="ttdeci">uint16_t x1</div><div class="ttdoc">Top Left X-Coordinate of Area. </div><div class="ttdef"><b>Definition:</b> <a href="touch_8h_source.html#l00074">touch.h:74</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a5aeb52abd0731f4db0537d47c296cc24"><div class="ttname"><a href="screen__pixytest_8c.html#a5aeb52abd0731f4db0537d47c296cc24">b_servos_topright_cb</a></div><div class="ttdeci">static void b_servos_topright_cb(void *button)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00076">screen_pixytest.c:76</a></div></div>
<div class="ttc" id="group__tft_html_ga6c54e72c6142d317114a29adbcbb24b6"><div class="ttname"><a href="group__tft.html#ga6c54e72c6142d317114a29adbcbb24b6">TRANSPARENT</a></div><div class="ttdeci">#define TRANSPARENT</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00066">tft.h:66</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a9bbf0c7577695231d5f8ad6ea38ef3e2"><div class="ttname"><a href="screen__pixytest_8c.html#a9bbf0c7577695231d5f8ad6ea38ef3e2">b_led_white_cb</a></div><div class="ttdeci">static void b_led_white_cb(void *button)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00111">screen_pixytest.c:111</a></div></div>
<div class="ttc" id="struct_b_u_t_t_o_n___s_t_r_u_c_t_html_aebb27fad2492ea7aa81895d0ede61fcf"><div class="ttname"><a href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#aebb27fad2492ea7aa81895d0ede61fcf">BUTTON_STRUCT::bgcolor</a></div><div class="ttdeci">uint16_t bgcolor</div><div class="ttdoc">The 16-bit background color of the button. </div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00057">button.h:57</a></div></div>
<div class="ttc" id="struct_b_u_t_t_o_n___s_t_r_u_c_t_html_adf10d197299522577e67d366877bdd3f"><div class="ttname"><a href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adf10d197299522577e67d366877bdd3f">BUTTON_STRUCT::base</a></div><div class="ttdeci">TOUCH_AREA_STRUCT base</div><div class="ttdoc">Basic geometry of the button. You only need to set the x1, y1, x2, y2 members of this struct...</div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00056">button.h:56</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aa1c7e63235f9f63a759ea7e5a0c26b83"><div class="ttname"><a href="screen__pixytest_8c.html#aa1c7e63235f9f63a759ea7e5a0c26b83">LED_COLOR_BUTTON_Y</a></div><div class="ttdeci">#define LED_COLOR_BUTTON_Y</div></div>
<div class="ttc" id="screen__pixytest_8c_html_acfb5dc26db6230fcc2a36cd0baa9d876"><div class="ttname"><a href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a></div><div class="ttdeci">static BUTTON_STRUCT b_servos_bottomleft</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00037">screen_pixytest.c:37</a></div></div>
<div class="ttc" id="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t_html_a70d80bf3a066e14217829f05fa3600f8"><div class="ttname"><a href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#a70d80bf3a066e14217829f05fa3600f8">NUMUPDOWN_STRUCT::callback</a></div><div class="ttdeci">NUMUPDOWN_CALLBACK callback</div><div class="ttdoc">Callback which is executed when the value changes. </div><div class="ttdef"><b>Definition:</b> <a href="numupdown_8h_source.html#l00055">numupdown.h:55</a></div></div>
<div class="ttc" id="group__tft_html_gacbaf0b6287f2d906af1e76051be37a87"><div class="ttname"><a href="group__tft.html#gacbaf0b6287f2d906af1e76051be37a87">HEX</a></div><div class="ttdeci">#define HEX(h)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00060">tft.h:60</a></div></div>
<div class="ttc" id="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t_html_aa377184ba406b3f0c4ac18c935378204"><div class="ttname"><a href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#aa377184ba406b3f0c4ac18c935378204">TOUCH_AREA_STRUCT::y2</a></div><div class="ttdeci">uint16_t y2</div><div class="ttdoc">Bottom Right Y-Coordinate of Area. </div><div class="ttdef"><b>Definition:</b> <a href="touch_8h_source.html#l00077">touch.h:77</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a26fb89d09091b2796fde75c0f5bf82d8"><div class="ttname"><a href="screen__pixytest_8c.html#a26fb89d09091b2796fde75c0f5bf82d8">b_led_off_cb</a></div><div class="ttdeci">static void b_led_off_cb(void *button)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00103">screen_pixytest.c:103</a></div></div>
<div class="ttc" id="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t_html_ab0580f504a7428539be299fa71565f30"><div class="ttname"><a href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#ab0580f504a7428539be299fa71565f30">NUMUPDOWN_STRUCT::y</a></div><div class="ttdeci">uint16_t y</div><div class="ttdoc">The y-Coordinate of the Top-Left Starting Point. </div><div class="ttdef"><b>Definition:</b> <a href="numupdown_8h_source.html#l00050">numupdown.h:50</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_adaae997e56e5f71dff07650e0fccdbab"><div class="ttname"><a href="screen__pixytest_8c.html#adaae997e56e5f71dff07650e0fccdbab">b_servos_topleft_cb</a></div><div class="ttdeci">static void b_servos_topleft_cb(void *button)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00067">screen_pixytest.c:67</a></div></div>
<div class="ttc" id="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t_html_a43a190f55cab9276eb1d6b6a4f453ccf"><div class="ttname"><a href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#a43a190f55cab9276eb1d6b6a4f453ccf">NUMUPDOWN_STRUCT::max</a></div><div class="ttdeci">int16_t max</div><div class="ttdoc">The maximum possible value (inclusive) </div><div class="ttdef"><b>Definition:</b> <a href="numupdown_8h_source.html#l00054">numupdown.h:54</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aa0eb797e4ff7535a507917a95da6711e"><div class="ttname"><a href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a></div><div class="ttdeci">static BUTTON_STRUCT b_led_white</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00043">screen_pixytest.c:43</a></div></div>
<div class="ttc" id="group__tft_html_ga6a2e3b3878ae5eea184d4c3ffe091b78"><div class="ttname"><a href="group__tft.html#ga6a2e3b3878ae5eea184d4c3ffe091b78">tft_clear</a></div><div class="ttdeci">void tft_clear(uint16_t color)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8c_source.html#l00045">tft.c:45</a></div></div>
<div class="ttc" id="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t_html_ac5bc000f8954f38b7a641a485a26bae7"><div class="ttname"><a href="struct_t_o_u_c_h___a_r_e_a___s_t_r_u_c_t.html#ac5bc000f8954f38b7a641a485a26bae7">TOUCH_AREA_STRUCT::x2</a></div><div class="ttdeci">uint16_t x2</div><div class="ttdoc">Bottom Right X-Coordinate of Area. </div><div class="ttdef"><b>Definition:</b> <a href="touch_8h_source.html#l00076">touch.h:76</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_ac936d4c15a496aedc9c0285c6da36968"><div class="ttname"><a href="screen__pixytest_8c.html#ac936d4c15a496aedc9c0285c6da36968">b_led_red_cb</a></div><div class="ttdeci">static void b_led_red_cb(void *button)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00119">screen_pixytest.c:119</a></div></div>
<div class="ttc" id="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t_html_a29dc67311876da954d1fb5911f161fed"><div class="ttname"><a href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#a29dc67311876da954d1fb5911f161fed">NUMUPDOWN_STRUCT::min</a></div><div class="ttdeci">int16_t min</div><div class="ttdoc">The minimum possible value (inclusive) </div><div class="ttdef"><b>Definition:</b> <a href="numupdown_8h_source.html#l00053">numupdown.h:53</a></div></div>
<div class="ttc" id="group__tft_html_ga87b537f5fa5c109d3c05c13d6b18f382"><div class="ttname"><a href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a></div><div class="ttdeci">#define WHITE</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00053">tft.h:53</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_ad9e76b7916c4129af8c60eec0d694ae3"><div class="ttname"><a href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a></div><div class="ttdeci">static BUTTON_STRUCT b_servos_topleft</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00035">screen_pixytest.c:35</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a36e8cc311c87d4ef3e467b4f6e9e1e2e"><div class="ttname"><a href="screen__pixytest_8c.html#a36e8cc311c87d4ef3e467b4f6e9e1e2e">n_led_powerlimit</a></div><div class="ttdeci">static NUMUPDOWN_STRUCT n_led_powerlimit</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00050">screen_pixytest.c:50</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_ae5d8f6a72bbdbe109bc151bfef8ac9a6"><div class="ttname"><a href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a></div><div class="ttdeci">static BUTTON_STRUCT b_back</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00032">screen_pixytest.c:32</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="screen__pixytest_8c_html_a9431d0f00cbebabe92c9db9ca33febfa"><div class="ttname"><a href="screen__pixytest_8c.html#a9431d0f00cbebabe92c9db9ca33febfa">b_servos_bottomright_cb</a></div><div class="ttdeci">static void b_servos_bottomright_cb(void *button)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00094">screen_pixytest.c:94</a></div></div>
<div class="ttc" id="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t_html_a78bc63a5b9272aa4a69d6ceea4e65902"><div class="ttname"><a href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#a78bc63a5b9272aa4a69d6ceea4e65902">NUMUPDOWN_STRUCT::fgcolor</a></div><div class="ttdeci">uint16_t fgcolor</div><div class="ttdoc">The 16-bit color of the value-text. </div><div class="ttdef"><b>Definition:</b> <a href="numupdown_8h_source.html#l00051">numupdown.h:51</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_afafa1aca162346e70bd8b03d046f688d"><div class="ttname"><a href="screen__pixytest_8c.html#afafa1aca162346e70bd8b03d046f688d">b_servos_center_cb</a></div><div class="ttdeci">static void b_servos_center_cb(void *button)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00058">screen_pixytest.c:58</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a258e60594872309e6e115517ad38e3db"><div class="ttname"><a href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a></div><div class="ttdeci">static BUTTON_STRUCT b_led_blue</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00046">screen_pixytest.c:46</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a3f1abd08d10208e27c971ef4d402c4ef"><div class="ttname"><a href="screen__pixytest_8c.html#a3f1abd08d10208e27c971ef4d402c4ef">LED_COLOR_BUTTON_SPACING</a></div><div class="ttdeci">#define LED_COLOR_BUTTON_SPACING</div></div>
<div class="ttc" id="screen__pixytest_8c_html_a61f6199ab9d14cc55be19847add309c3"><div class="ttname"><a href="screen__pixytest_8c.html#a61f6199ab9d14cc55be19847add309c3">SERVO_BUTTON_SPACING</a></div><div class="ttdeci">#define SERVO_BUTTON_SPACING</div></div>
<div class="ttc" id="screen__pixytest_8c_html_a4bc5101262c9c391e81e484b09964188"><div class="ttname"><a href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a></div><div class="ttdeci">static BUTTON_STRUCT b_led_red</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00044">screen_pixytest.c:44</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a3caba4698a10a53c798ecdf5d2d0d7de"><div class="ttname"><a href="screen__pixytest_8c.html#a3caba4698a10a53c798ecdf5d2d0d7de">LED_POWER_BUTTON_Y</a></div><div class="ttdeci">#define LED_POWER_BUTTON_Y</div></div>
<div class="ttc" id="screen__pixytest_8c_html_a6257e15ffef64770bc3c744f0ef0208a"><div class="ttname"><a href="screen__pixytest_8c.html#a6257e15ffef64770bc3c744f0ef0208a">n_led_powerlimit_cb</a></div><div class="ttdeci">static void n_led_powerlimit_cb(void *numupdown, int16_t value)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00143">screen_pixytest.c:143</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aaebdf93a1201ccd09d139ef235054ee1"><div class="ttname"><a href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a></div><div class="ttdeci">static BUTTON_STRUCT b_servos_topright</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00036">screen_pixytest.c:36</a></div></div>
<div class="ttc" id="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t_html_a7375fa3485ce43bbc621f90ce895d52a"><div class="ttname"><a href="struct_n_u_m_u_p_d_o_w_n___s_t_r_u_c_t.html#a7375fa3485ce43bbc621f90ce895d52a">NUMUPDOWN_STRUCT::value</a></div><div class="ttdeci">int16_t value</div><div class="ttdoc">The current/default value. </div><div class="ttdef"><b>Definition:</b> <a href="numupdown_8h_source.html#l00052">numupdown.h:52</a></div></div>
<div class="ttc" id="struct_b_u_t_t_o_n___s_t_r_u_c_t_html_a269d23c8a60f8acdf9279642999ee6a9"><div class="ttname"><a href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#a269d23c8a60f8acdf9279642999ee6a9">BUTTON_STRUCT::callback</a></div><div class="ttdeci">BUTTON_CALLBACK callback</div><div class="ttdoc">Callback which is executed when the button is pressed. </div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00058">button.h:58</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a7a8cd1564547b0fe1b6af8d5eca6fc37"><div class="ttname"><a href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a></div><div class="ttdeci">static BUTTON_STRUCT b_servos_center</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00034">screen_pixytest.c:34</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aeb4e54b6b5771028eb4e2a6f43b453ca"><div class="ttname"><a href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a></div><div class="ttdeci">static BUTTON_STRUCT b_servos_bottomright</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00038">screen_pixytest.c:38</a></div></div>
<div class="ttc" id="struct_b_u_t_t_o_n___s_t_r_u_c_t_html_adeae49dfe3584e6df726fb4167cd1cf7"><div class="ttname"><a href="struct_b_u_t_t_o_n___s_t_r_u_c_t.html#adeae49dfe3584e6df726fb4167cd1cf7">BUTTON_STRUCT::font</a></div><div class="ttdeci">uint8_t font</div><div class="ttdoc">The number of the font to use. </div><div class="ttdef"><b>Definition:</b> <a href="button_8h_source.html#l00060">button.h:60</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a0e8603a1738cbcbbd9684e7db228bd26"><div class="ttname"><a href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a></div><div class="ttdeci">static BUTTON_STRUCT b_led_off</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00042">screen_pixytest.c:42</a></div></div>
<div class="ttc" id="group__tft_html_ga7b3b25cba33b07c303f3060fe41887f6"><div class="ttname"><a href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a></div><div class="ttdeci">#define BLACK</div><div class="ttdef"><b>Definition:</b> <a href="tft_8h_source.html#l00054">tft.h:54</a></div></div>
<div class="ttc" id="group__numupdown_html_gab4321e7fc0810ee30355bc7d0a3372db"><div class="ttname"><a href="group__numupdown.html#gab4321e7fc0810ee30355bc7d0a3372db">gui_numupdown_add</a></div><div class="ttdeci">bool gui_numupdown_add(NUMUPDOWN_STRUCT *numupdown)</div><div class="ttdef"><b>Definition:</b> <a href="numupdown_8c_source.html#l00080">numupdown.c:80</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
@@ -724,6 +1084,37 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00307">307</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;{</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&amp;<a class="code" href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a>);</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&amp;<a class="code" href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a>);</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&amp;<a class="code" href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a>);</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&amp;<a class="code" href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a>);</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&amp;<a class="code" href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a>);</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&amp;<a class="code" href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a>);</div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&amp;<a class="code" href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a>);</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&amp;<a class="code" href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a>);</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&amp;<a class="code" href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a>);</div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&amp;<a class="code" href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a>);</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; <a class="code" href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a>(&amp;<a class="code" href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a>);</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <a class="code" href="group__numupdown.html#ga9470a5c6f0ffbbda7c56e1b8a59f4b97">gui_numupdown_remove</a>(&amp;<a class="code" href="screen__pixytest_8c.html#a36e8cc311c87d4ef3e467b4f6e9e1e2e">n_led_powerlimit</a>);</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160;</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_a31c32762a466ff596f6aad802dc0687d"><div class="ttname"><a href="screen__pixytest_8c.html#a31c32762a466ff596f6aad802dc0687d">b_led_green</a></div><div class="ttdeci">static BUTTON_STRUCT b_led_green</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00045">screen_pixytest.c:45</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_acfb5dc26db6230fcc2a36cd0baa9d876"><div class="ttname"><a href="screen__pixytest_8c.html#acfb5dc26db6230fcc2a36cd0baa9d876">b_servos_bottomleft</a></div><div class="ttdeci">static BUTTON_STRUCT b_servos_bottomleft</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00037">screen_pixytest.c:37</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aa0eb797e4ff7535a507917a95da6711e"><div class="ttname"><a href="screen__pixytest_8c.html#aa0eb797e4ff7535a507917a95da6711e">b_led_white</a></div><div class="ttdeci">static BUTTON_STRUCT b_led_white</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00043">screen_pixytest.c:43</a></div></div>
<div class="ttc" id="group__numupdown_html_ga9470a5c6f0ffbbda7c56e1b8a59f4b97"><div class="ttname"><a href="group__numupdown.html#ga9470a5c6f0ffbbda7c56e1b8a59f4b97">gui_numupdown_remove</a></div><div class="ttdeci">void gui_numupdown_remove(NUMUPDOWN_STRUCT *numupdown)</div><div class="ttdef"><b>Definition:</b> <a href="numupdown_8c_source.html#l00136">numupdown.c:136</a></div></div>
<div class="ttc" id="group__button_html_ga39e6ec07616381a15f276cd821dad4fd"><div class="ttname"><a href="group__button.html#ga39e6ec07616381a15f276cd821dad4fd">gui_button_remove</a></div><div class="ttdeci">void gui_button_remove(BUTTON_STRUCT *button)</div><div class="ttdef"><b>Definition:</b> <a href="button_8c_source.html#l00184">button.c:184</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_ad9e76b7916c4129af8c60eec0d694ae3"><div class="ttname"><a href="screen__pixytest_8c.html#ad9e76b7916c4129af8c60eec0d694ae3">b_servos_topleft</a></div><div class="ttdeci">static BUTTON_STRUCT b_servos_topleft</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00035">screen_pixytest.c:35</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a36e8cc311c87d4ef3e467b4f6e9e1e2e"><div class="ttname"><a href="screen__pixytest_8c.html#a36e8cc311c87d4ef3e467b4f6e9e1e2e">n_led_powerlimit</a></div><div class="ttdeci">static NUMUPDOWN_STRUCT n_led_powerlimit</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00050">screen_pixytest.c:50</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_ae5d8f6a72bbdbe109bc151bfef8ac9a6"><div class="ttname"><a href="screen__pixytest_8c.html#ae5d8f6a72bbdbe109bc151bfef8ac9a6">b_back</a></div><div class="ttdeci">static BUTTON_STRUCT b_back</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00032">screen_pixytest.c:32</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a258e60594872309e6e115517ad38e3db"><div class="ttname"><a href="screen__pixytest_8c.html#a258e60594872309e6e115517ad38e3db">b_led_blue</a></div><div class="ttdeci">static BUTTON_STRUCT b_led_blue</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00046">screen_pixytest.c:46</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a4bc5101262c9c391e81e484b09964188"><div class="ttname"><a href="screen__pixytest_8c.html#a4bc5101262c9c391e81e484b09964188">b_led_red</a></div><div class="ttdeci">static BUTTON_STRUCT b_led_red</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00044">screen_pixytest.c:44</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aaebdf93a1201ccd09d139ef235054ee1"><div class="ttname"><a href="screen__pixytest_8c.html#aaebdf93a1201ccd09d139ef235054ee1">b_servos_topright</a></div><div class="ttdeci">static BUTTON_STRUCT b_servos_topright</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00036">screen_pixytest.c:36</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a7a8cd1564547b0fe1b6af8d5eca6fc37"><div class="ttname"><a href="screen__pixytest_8c.html#a7a8cd1564547b0fe1b6af8d5eca6fc37">b_servos_center</a></div><div class="ttdeci">static BUTTON_STRUCT b_servos_center</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00034">screen_pixytest.c:34</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aeb4e54b6b5771028eb4e2a6f43b453ca"><div class="ttname"><a href="screen__pixytest_8c.html#aeb4e54b6b5771028eb4e2a6f43b453ca">b_servos_bottomright</a></div><div class="ttdeci">static BUTTON_STRUCT b_servos_bottomright</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00038">screen_pixytest.c:38</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a0e8603a1738cbcbbd9684e7db228bd26"><div class="ttname"><a href="screen__pixytest_8c.html#a0e8603a1738cbcbbd9684e7db228bd26">b_led_off</a></div><div class="ttdeci">static BUTTON_STRUCT b_led_off</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00042">screen_pixytest.c:42</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
@@ -767,6 +1158,18 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00143">143</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;{</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> == <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>) {</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <a class="code" href="screen__pixytest_8c.html#a71a0773356aeb29d6b4276caa281d5eb">led_maxcurrent</a> = value;</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7afa956cdf05831462f04238d2946d54e4">update_ledcurrent</a>;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; }</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7afa956cdf05831462f04238d2946d54e4"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7afa956cdf05831462f04238d2946d54e4">update_ledcurrent</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a71a0773356aeb29d6b4276caa281d5eb"><div class="ttname"><a href="screen__pixytest_8c.html#a71a0773356aeb29d6b4276caa281d5eb">led_maxcurrent</a></div><div class="ttdeci">static uint32_t led_maxcurrent</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00049">screen_pixytest.c:49</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
@@ -800,6 +1203,65 @@ Here is the caller graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00325">325</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160;{</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; <span class="keywordflow">switch</span> (<a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a>) {</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <span class="keywordflow">case</span> <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a7689d85a4508e742b3263bbee54cdbdd">detecting</a>: <span class="comment">//Detecting State: Where we try to connect to the pixy</span></div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="group__pixy.html#gad269822960ad0073356dab75ce3050b3">pixy_init</a>() == 0) { <span class="comment">//Pixy connection ok</span></div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; int32_t response;</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; <span class="keywordtype">int</span> return_value;</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; return_value = <a class="code" href="group__pixy.html#ga3d55779001cc649ed85be1a92f09892d">pixy_command</a>(<span class="stringliteral">&quot;stop&quot;</span>, <a class="code" href="pixydefs_8h.html#a1e61ec3195f40970b492ff9ace3ce84b">END_OUT_ARGS</a>, &amp;response, <a class="code" href="pixydefs_8h.html#a3997998ea42c5ea31902d9e0b7df4bd5">END_IN_ARGS</a>);</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; <a class="code" href="group__pixy.html#ga38582b897bb2eb5f36c6f68d2e171d05">pixy_led_set_max_current</a>(10);</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160;</div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>; <span class="comment">//Go to next state</span></div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; }</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160;</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <span class="keywordflow">case</span> <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>:</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <a class="code" href="group__pixy.html#ga72a2cd126f6a5f67842e5ff66424ccb0">pixy_service</a>();</div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160;</div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; <span class="keywordflow">case</span> <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a>:</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; <a class="code" href="group__pixy.html#ga5fb9213a5459dc6c74131ecabd6b5995">pixy_rcs_set_position</a>(0, <a class="code" href="screen__pixytest_8c.html#a8184234e1ba58053466062e14933bae7">servo_x</a>);</div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; <a class="code" href="group__pixy.html#ga5fb9213a5459dc6c74131ecabd6b5995">pixy_rcs_set_position</a>(1, <a class="code" href="screen__pixytest_8c.html#a3e9f071aa3313583a8a88d672bafaa20">servo_y</a>);</div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>;</div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160;</div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; <span class="keywordflow">case</span> <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a>: {</div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; int32_t response;</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; <span class="keywordtype">int</span> return_value;</div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; return_value = <a class="code" href="group__pixy.html#ga3d55779001cc649ed85be1a92f09892d">pixy_command</a>(<span class="stringliteral">&quot;led_set&quot;</span>, <a class="code" href="pixydefs_8h.html#a1d913ae2edf2ac73d3e18dcfdf1cbfda">INT32</a>(<a class="code" href="screen__pixytest_8c.html#a230b340b4c3998d343da8186aaba3500">led_color</a>), <a class="code" href="pixydefs_8h.html#a1e61ec3195f40970b492ff9ace3ce84b">END_OUT_ARGS</a>, &amp;response, <a class="code" href="pixydefs_8h.html#a3997998ea42c5ea31902d9e0b7df4bd5">END_IN_ARGS</a>);</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>;</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; }</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160;</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; <span class="keywordflow">case</span> <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7afa956cdf05831462f04238d2946d54e4">update_ledcurrent</a>:</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <a class="code" href="group__pixy.html#ga38582b897bb2eb5f36c6f68d2e171d05">pixy_led_set_max_current</a>(<a class="code" href="screen__pixytest_8c.html#a71a0773356aeb29d6b4276caa281d5eb">led_maxcurrent</a>);</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; <a class="code" href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a> = <a class="code" href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a>;</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; }</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160;</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160;}</div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a0e9a37114c0e458d28d52f06ec0f2242">idle</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7a7689d85a4508e742b3263bbee54cdbdd"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7a7689d85a4508e742b3263bbee54cdbdd">detecting</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7afa956cdf05831462f04238d2946d54e4"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7afa956cdf05831462f04238d2946d54e4">update_ledcurrent</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="pixydefs_8h_html_a1d913ae2edf2ac73d3e18dcfdf1cbfda"><div class="ttname"><a href="pixydefs_8h.html#a1d913ae2edf2ac73d3e18dcfdf1cbfda">INT32</a></div><div class="ttdeci">#define INT32(v)</div><div class="ttdef"><b>Definition:</b> <a href="pixydefs_8h_source.html#l00065">pixydefs.h:65</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a8184234e1ba58053466062e14933bae7"><div class="ttname"><a href="screen__pixytest_8c.html#a8184234e1ba58053466062e14933bae7">servo_x</a></div><div class="ttdeci">static uint16_t servo_x</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00039">screen_pixytest.c:39</a></div></div>
<div class="ttc" id="group__pixy_html_ga72a2cd126f6a5f67842e5ff66424ccb0"><div class="ttname"><a href="group__pixy.html#ga72a2cd126f6a5f67842e5ff66424ccb0">pixy_service</a></div><div class="ttdeci">int pixy_service()</div></div>
<div class="ttc" id="screen__pixytest_8c_html_a71a0773356aeb29d6b4276caa281d5eb"><div class="ttname"><a href="screen__pixytest_8c.html#a71a0773356aeb29d6b4276caa281d5eb">led_maxcurrent</a></div><div class="ttdeci">static uint32_t led_maxcurrent</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00049">screen_pixytest.c:49</a></div></div>
<div class="ttc" id="group__pixy_html_ga3d55779001cc649ed85be1a92f09892d"><div class="ttname"><a href="group__pixy.html#ga3d55779001cc649ed85be1a92f09892d">pixy_command</a></div><div class="ttdeci">int pixy_command(const char *name,...)</div><div class="ttdoc">Send a command to Pixy. </div></div>
<div class="ttc" id="group__pixy_html_ga38582b897bb2eb5f36c6f68d2e171d05"><div class="ttname"><a href="group__pixy.html#ga38582b897bb2eb5f36c6f68d2e171d05">pixy_led_set_max_current</a></div><div class="ttdeci">int pixy_led_set_max_current(uint32_t current)</div><div class="ttdoc">Set pixy LED maximum current. </div></div>
<div class="ttc" id="group__pixy_html_gad269822960ad0073356dab75ce3050b3"><div class="ttname"><a href="group__pixy.html#gad269822960ad0073356dab75ce3050b3">pixy_init</a></div><div class="ttdeci">int pixy_init()</div><div class="ttdoc">Creates a connection with Pixy and listens for Pixy messages. </div></div>
<div class="ttc" id="pixydefs_8h_html_a1e61ec3195f40970b492ff9ace3ce84b"><div class="ttname"><a href="pixydefs_8h.html#a1e61ec3195f40970b492ff9ace3ce84b">END_OUT_ARGS</a></div><div class="ttdeci">#define END_OUT_ARGS</div><div class="ttdef"><b>Definition:</b> <a href="pixydefs_8h_source.html#l00089">pixydefs.h:89</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_aae2e5315ba9ea0c3b531141973e529ae"><div class="ttname"><a href="screen__pixytest_8c.html#aae2e5315ba9ea0c3b531141973e529ae">state</a></div><div class="ttdeci">static enum @1 state</div></div>
<div class="ttc" id="group__pixy_html_ga5fb9213a5459dc6c74131ecabd6b5995"><div class="ttname"><a href="group__pixy.html#ga5fb9213a5459dc6c74131ecabd6b5995">pixy_rcs_set_position</a></div><div class="ttdeci">int pixy_rcs_set_position(uint8_t channel, uint16_t position)</div><div class="ttdoc">Set pixy servo axis position. </div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7adebf5d632ea3947c444092e71924266c">update_ledcolor</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a230b340b4c3998d343da8186aaba3500"><div class="ttname"><a href="screen__pixytest_8c.html#a230b340b4c3998d343da8186aaba3500">led_color</a></div><div class="ttdeci">static uint32_t led_color</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00047">screen_pixytest.c:47</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a"><div class="ttname"><a href="screen__pixytest_8c.html#adf764cbdea00d65edcd07bb9953ad2b7aa2623f758ef2224d1d7f0d551c250b8a">update_servos</a></div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00030">screen_pixytest.c:30</a></div></div>
<div class="ttc" id="pixydefs_8h_html_a3997998ea42c5ea31902d9e0b7df4bd5"><div class="ttname"><a href="pixydefs_8h.html#a3997998ea42c5ea31902d9e0b7df4bd5">END_IN_ARGS</a></div><div class="ttdeci">#define END_IN_ARGS</div><div class="ttdef"><b>Definition:</b> <a href="pixydefs_8h_source.html#l00090">pixydefs.h:90</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a3e9f071aa3313583a8a88d672bafaa20"><div class="ttname"><a href="screen__pixytest_8c.html#a3e9f071aa3313583a8a88d672bafaa20">servo_y</a></div><div class="ttdeci">static uint16_t servo_y</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00040">screen_pixytest.c:40</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
@@ -830,6 +1292,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00032">32</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="a258e60594872309e6e115517ad38e3db"></a>
@@ -850,6 +1314,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00046">46</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="a31c32762a466ff596f6aad802dc0687d"></a>
@@ -870,6 +1336,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00045">45</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="a0e8603a1738cbcbbd9684e7db228bd26"></a>
@@ -890,6 +1358,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00042">42</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="a4bc5101262c9c391e81e484b09964188"></a>
@@ -910,6 +1380,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00044">44</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="aa0eb797e4ff7535a507917a95da6711e"></a>
@@ -930,6 +1402,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00043">43</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="acfb5dc26db6230fcc2a36cd0baa9d876"></a>
@@ -950,6 +1424,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00037">37</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="aeb4e54b6b5771028eb4e2a6f43b453ca"></a>
@@ -970,6 +1446,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00038">38</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="a7a8cd1564547b0fe1b6af8d5eca6fc37"></a>
@@ -990,6 +1468,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00034">34</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="ad9e76b7916c4129af8c60eec0d694ae3"></a>
@@ -1010,6 +1490,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00035">35</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="aaebdf93a1201ccd09d139ef235054ee1"></a>
@@ -1030,6 +1512,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00036">36</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="a230b340b4c3998d343da8186aaba3500"></a>
@@ -1050,6 +1534,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00047">47</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="a71a0773356aeb29d6b4276caa281d5eb"></a>
@@ -1070,6 +1556,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00049">49</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="a36e8cc311c87d4ef3e467b4f6e9e1e2e"></a>
@@ -1090,6 +1578,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00050">50</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="a939fdd806f427cc8505ed817e28cce9d"></a>
@@ -1114,10 +1604,12 @@ Here is the call graph for this function:</div>
<div class="line"> <a class="code" href="screen__pixytest_8c.html#acd1409088e83cf2a8ba2cf96dd9b52f8">leave</a>,</div>
<div class="line"> <a class="code" href="screen__pixytest_8c.html#a5e8f84ee8ff4bf827775c38ae6752509">update</a></div>
<div class="line">}</div>
<div class="ttc" id="screen__pixytest_8c_html_acd1409088e83cf2a8ba2cf96dd9b52f8"><div class="ttname"><a href="screen__pixytest_8c.html#acd1409088e83cf2a8ba2cf96dd9b52f8">leave</a></div><div class="ttdeci">static void leave(void *screen)</div><div class="ttdef"><b>Definition:</b> screen_pixytest.c:274</div></div>
<div class="ttc" id="screen__pixytest_8c_html_a5e8f84ee8ff4bf827775c38ae6752509"><div class="ttname"><a href="screen__pixytest_8c.html#a5e8f84ee8ff4bf827775c38ae6752509">update</a></div><div class="ttdeci">static void update(void *screen)</div><div class="ttdef"><b>Definition:</b> screen_pixytest.c:291</div></div>
<div class="ttc" id="screen__pixytest_8c_html_a3017cd14eca2b9e67a69e7ea559b5eaa"><div class="ttname"><a href="screen__pixytest_8c.html#a3017cd14eca2b9e67a69e7ea559b5eaa">enter</a></div><div class="ttdeci">static void enter(void *screen)</div><div class="ttdef"><b>Definition:</b> screen_pixytest.c:119</div></div>
<div class="ttc" id="screen__pixytest_8c_html_acd1409088e83cf2a8ba2cf96dd9b52f8"><div class="ttname"><a href="screen__pixytest_8c.html#acd1409088e83cf2a8ba2cf96dd9b52f8">leave</a></div><div class="ttdeci">static void leave(void *screen)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00307">screen_pixytest.c:307</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a5e8f84ee8ff4bf827775c38ae6752509"><div class="ttname"><a href="screen__pixytest_8c.html#a5e8f84ee8ff4bf827775c38ae6752509">update</a></div><div class="ttdeci">static void update(void *screen)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00325">screen_pixytest.c:325</a></div></div>
<div class="ttc" id="screen__pixytest_8c_html_a3017cd14eca2b9e67a69e7ea559b5eaa"><div class="ttname"><a href="screen__pixytest_8c.html#a3017cd14eca2b9e67a69e7ea559b5eaa">enter</a></div><div class="ttdeci">static void enter(void *screen)</div><div class="ttdef"><b>Definition:</b> <a href="screen__pixytest_8c_source.html#l00151">screen_pixytest.c:151</a></div></div>
</div><!-- fragment -->
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00367">367</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="a8184234e1ba58053466062e14933bae7"></a>
@@ -1138,6 +1630,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00039">39</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="a3e9f071aa3313583a8a88d672bafaa20"></a>
@@ -1158,6 +1652,8 @@ Here is the call graph for this function:</div>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="screen__pixytest_8c_source.html#l00040">40</a> of file <a class="el" href="screen__pixytest_8c_source.html">screen_pixytest.c</a>.</p>
</div>
</div>
<a class="anchor" id="aae2e5315ba9ea0c3b531141973e529ae"></a>
@@ -1175,7 +1671,7 @@ Here is the call graph for this function:</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jun 8 2015 01:15:03 for discoverpixy by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Mon Jun 8 2015 11:01:18 for discoverpixy by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>