249 lines
41 KiB
HTML
249 lines
41 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.9.1"/>
|
|
<title>discoverpixy: common/touch/screen_calibrate.c Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">discoverpixy
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.9.1 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_5668dfef4710d48cd9d7316a574bf987.html">touch</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">screen_calibrate.c</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="screen__calibrate_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/**************************************************************************************************************************************</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">* Project: discoverpixy</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">* Website: https://github.com/t-moe/discoverpixy</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* Authors: Aaron Schmocker, Timo Lang</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">* Institution: BFH Bern University of Applied Sciences</span></div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">* File: common/touch/screen_calibrate.c</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">*</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">* Version History:</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">* Date Autor Email SHA Changes</span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">* 2015-06-01 timolang@gmail.com 06227da Added calibrate screen (WIP). fixed bug in emulator drawing.</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">* 2015-06-01 timolang@gmail.com eb573bc Finalized calibration. Fixed a bug in screen module.</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">*</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">**************************************************************************************************************************************/</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="screen__calibrate_8h.html">screen_calibrate.h</a>"</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "<a class="code" href="tft_8h.html">tft.h</a>"</span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="touch_8h.html">touch.h</a>"</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">extern</span> <span class="keyword">volatile</span> <span class="keywordtype">bool</span> <a class="code" href="screen__calibrate_8c.html#a8e440e007cdbbff7dc9442993266bcf0">calibration</a>; <span class="comment">//from touch.c</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="screen__calibrate_8c.html#a3017cd14eca2b9e67a69e7ea559b5eaa"> 23</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="screen__calibrate_8c.html#a3017cd14eca2b9e67a69e7ea559b5eaa">enter</a>(<span class="keywordtype">void</span>* <a class="code" href="screen__calibrate_8c.html#a939fdd806f427cc8505ed817e28cce9d">screen</a>)</div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> {</div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="group__tft.html#ga6a2e3b3878ae5eea184d4c3ffe091b78">tft_clear</a>(<a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>);</div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> }</div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="screen__calibrate_8c.html#acd1409088e83cf2a8ba2cf96dd9b52f8"> 28</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="screen__calibrate_8c.html#acd1409088e83cf2a8ba2cf96dd9b52f8">leave</a>(<span class="keywordtype">void</span>* <a class="code" href="screen__calibrate_8c.html#a939fdd806f427cc8505ed817e28cce9d">screen</a>)</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> {</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> }</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="screen__calibrate_8c.html#a5e8f84ee8ff4bf827775c38ae6752509"> 33</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="screen__calibrate_8c.html#a5e8f84ee8ff4bf827775c38ae6752509">update</a>(<span class="keywordtype">void</span>* <a class="code" href="screen__calibrate_8c.html#a939fdd806f427cc8505ed817e28cce9d">screen</a>)</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> {</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">int</span> x1, y1, x2, y2, dx, dy;</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <a class="code" href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a>(50, 50, <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>, <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>, 1, <span class="stringliteral">"Calibration:"</span>);</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a>(50, 120, <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>, <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>, 0, <span class="stringliteral">"Hit the markers exactly!"</span>);</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="comment">//-----------------First Point--------------------</span></div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="group__tft.html#ga5022f91ea04919e698a79c0c309ba6f8">tft_draw_line</a>(<a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>); <span class="comment">//Draw Cross</span></div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="group__tft.html#ga5022f91ea04919e698a79c0c309ba6f8">tft_draw_line</a>(<a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>); <span class="comment">//Draw Cross</span></div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="screen__calibrate_8c.html#a8e440e007cdbbff7dc9442993266bcf0">calibration</a> = 1; <span class="comment">//TouchX + TouchY Values will not be converted to Pixels</span></div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordflow">while</span> (<a class="code" href="screen__calibrate_8c.html#a8e440e007cdbbff7dc9442993266bcf0">calibration</a>); <span class="comment">//Wait on PenUp</span></div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="struct_p_o_i_n_t___s_t_r_u_c_t.html">POINT_STRUCT</a> p1 = <a class="code" href="group__touch.html#ga42b918ead4f536a63f79601ab2978227">touch_get_last_point</a>();</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  x1 = p1.<a class="code" href="struct_p_o_i_n_t___s_t_r_u_c_t.html#a4dde988b1b2adba65ae3efa69f65d960">x</a>;</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  y1 = p1.<a class="code" href="struct_p_o_i_n_t___s_t_r_u_c_t.html#ab0580f504a7428539be299fa71565f30">y</a>;</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="group__tft.html#ga781855ab93845ce326dfca7c099259c6">tft_fill_rectangle</a>(<a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>); <span class="comment">//Clear Cross</span></div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="comment">//-----------------Second Point-------------------</span></div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="group__tft.html#ga5022f91ea04919e698a79c0c309ba6f8">tft_draw_line</a>(<a class="code" href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a> - <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a> - <a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a> - <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a> - <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>);</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="group__tft.html#ga5022f91ea04919e698a79c0c309ba6f8">tft_draw_line</a>(<a class="code" href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a> - <a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a> - <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a> - <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a> - <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>);</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="screen__calibrate_8c.html#a8e440e007cdbbff7dc9442993266bcf0">calibration</a> = 1;</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">while</span> (<a class="code" href="screen__calibrate_8c.html#a8e440e007cdbbff7dc9442993266bcf0">calibration</a>);</div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="struct_p_o_i_n_t___s_t_r_u_c_t.html">POINT_STRUCT</a> p2 = <a class="code" href="group__touch.html#ga42b918ead4f536a63f79601ab2978227">touch_get_last_point</a>();</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  x2 = p2.<a class="code" href="struct_p_o_i_n_t___s_t_r_u_c_t.html#a4dde988b1b2adba65ae3efa69f65d960">x</a>;</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  y2 = p2.<a class="code" href="struct_p_o_i_n_t___s_t_r_u_c_t.html#ab0580f504a7428539be299fa71565f30">y</a>;</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="group__tft.html#ga781855ab93845ce326dfca7c099259c6">tft_fill_rectangle</a>(<a class="code" href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a> - <a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a> - <a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a> - <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a> - <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>);</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="comment">//-----------------Third Point--------------------</span></div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="group__tft.html#ga5022f91ea04919e698a79c0c309ba6f8">tft_draw_line</a>(<a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a> - <a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a> - <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>);</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="group__tft.html#ga5022f91ea04919e698a79c0c309ba6f8">tft_draw_line</a>(<a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a> - <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a> - <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>);</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="screen__calibrate_8c.html#a8e440e007cdbbff7dc9442993266bcf0">calibration</a> = 1;</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">while</span> (<a class="code" href="screen__calibrate_8c.html#a8e440e007cdbbff7dc9442993266bcf0">calibration</a>);</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="struct_p_o_i_n_t___s_t_r_u_c_t.html">POINT_STRUCT</a> p3 = <a class="code" href="group__touch.html#ga42b918ead4f536a63f79601ab2978227">touch_get_last_point</a>();</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  x1 += p3.<a class="code" href="struct_p_o_i_n_t___s_t_r_u_c_t.html#a4dde988b1b2adba65ae3efa69f65d960">x</a>; <span class="comment">//Add(!) values. We'll build the average later</span></div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  y2 += p3.<a class="code" href="struct_p_o_i_n_t___s_t_r_u_c_t.html#ab0580f504a7428539be299fa71565f30">y</a>;</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="group__tft.html#ga781855ab93845ce326dfca7c099259c6">tft_fill_rectangle</a>(<a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a> - <a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a> - <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>);</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">//------------------4. Point---------------------</span></div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="group__tft.html#ga5022f91ea04919e698a79c0c309ba6f8">tft_draw_line</a>(<a class="code" href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a> - <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a> - <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>);</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="group__tft.html#ga5022f91ea04919e698a79c0c309ba6f8">tft_draw_line</a>(<a class="code" href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a> - <a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a> - <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a>, <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>);</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="screen__calibrate_8c.html#a8e440e007cdbbff7dc9442993266bcf0">calibration</a> = 1;</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">while</span> (<a class="code" href="screen__calibrate_8c.html#a8e440e007cdbbff7dc9442993266bcf0">calibration</a>);</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="struct_p_o_i_n_t___s_t_r_u_c_t.html">POINT_STRUCT</a> p4 = <a class="code" href="group__touch.html#ga42b918ead4f536a63f79601ab2978227">touch_get_last_point</a>();</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  x2 += p4.<a class="code" href="struct_p_o_i_n_t___s_t_r_u_c_t.html#a4dde988b1b2adba65ae3efa69f65d960">x</a>;</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  y1 += p4.<a class="code" href="struct_p_o_i_n_t___s_t_r_u_c_t.html#ab0580f504a7428539be299fa71565f30">y</a>;</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="group__tft.html#ga781855ab93845ce326dfca7c099259c6">tft_fill_rectangle</a>(<a class="code" href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a> - <a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a>, <a class="code" href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a> - <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a>, <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>);</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="comment">//-------------------Calculation---------------------</span></div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  x1++; <span class="comment">//Add 1 and divide by 2 later = +0.5 (for correct rounding)</span></div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  y1++;</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  x2++;</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  y2++;</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  x1 >>= 1; <span class="comment">//Divide by 2</span></div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  y1 >>= 1;</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  x2 >>= 1;</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  y2 >>= 1;</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  dx = (x2 - x1); <span class="comment">//Build the Difference</span></div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  dy = (y2 - y1);</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="group__touch.html#gacc714477cb936ab22e00904a69bbc022">touch_set_calibration_values</a>(x1, dx, y1, dy);</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="group__tft.html#gabf54943131990b366ce6875a0e1925f6">tft_print_line</a>(50, 120, <a class="code" href="group__tft.html#ga87b537f5fa5c109d3c05c13d6b18f382">WHITE</a>, <a class="code" href="group__tft.html#ga7b3b25cba33b07c303f3060fe41887f6">BLACK</a>, 0, <span class="stringliteral">"Calibration Done. Press anywhere"</span>);</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="screen__calibrate_8c.html#a8e440e007cdbbff7dc9442993266bcf0">calibration</a> = 1;</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">while</span> (<a class="code" href="screen__calibrate_8c.html#a8e440e007cdbbff7dc9442993266bcf0">calibration</a>);</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="group__screen.html#ga8e14bc7ee0214e2926965f9bdb54a866">gui_screen_back</a>();</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> }</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="screen__calibrate_8c.html#a939fdd806f427cc8505ed817e28cce9d"> 111</a></span> <span class="keyword">static</span> <a class="code" href="struct_s_c_r_e_e_n___s.html">SCREEN_STRUCT</a> <a class="code" href="screen__calibrate_8c.html#a939fdd806f427cc8505ed817e28cce9d">screen</a> = {</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="screen__calibrate_8c.html#a3017cd14eca2b9e67a69e7ea559b5eaa">enter</a>,</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="screen__calibrate_8c.html#acd1409088e83cf2a8ba2cf96dd9b52f8">leave</a>,</div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="screen__calibrate_8c.html#a5e8f84ee8ff4bf827775c38ae6752509">update</a></div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> };</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="group__calibrate.html#ga700642cd5aa866218124361499bbd072"> 118</a></span> <a class="code" href="struct_s_c_r_e_e_n___s.html">SCREEN_STRUCT</a>* <a class="code" href="group__calibrate.html#ga700642cd5aa866218124361499bbd072">get_screen_calibrate</a>()</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> {</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">return</span> &<a class="code" href="screen__calibrate_8c.html#a939fdd806f427cc8505ed817e28cce9d">screen</a>;</div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> }</div>
|
|
<div class="ttc" id="screen__calibrate_8h_html_acc17d86219605385a23782e12bc3899c"><div class="ttname"><a href="screen__calibrate_8h.html#acc17d86219605385a23782e12bc3899c">CCENTER</a></div><div class="ttdeci">#define CCENTER</div><div class="ttdef"><b>Definition:</b> <a href="screen__calibrate_8h_source.html#l00042">screen_calibrate.h:42</a></div></div>
|
|
<div class="ttc" id="group__tft_html_ga5022f91ea04919e698a79c0c309ba6f8"><div class="ttname"><a href="group__tft.html#ga5022f91ea04919e698a79c0c309ba6f8">tft_draw_line</a></div><div class="ttdeci">void tft_draw_line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8c_source.html#l00050">tft.c:50</a></div></div>
|
|
<div class="ttc" id="struct_p_o_i_n_t___s_t_r_u_c_t_html_ab0580f504a7428539be299fa71565f30"><div class="ttname"><a href="struct_p_o_i_n_t___s_t_r_u_c_t.html#ab0580f504a7428539be299fa71565f30">POINT_STRUCT::y</a></div><div class="ttdeci">uint16_t y</div><div class="ttdoc">The Y-Coordinate of the point. </div><div class="ttdef"><b>Definition:</b> <a href="touch_8h_source.html#l00088">touch.h:88</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="struct_p_o_i_n_t___s_t_r_u_c_t_html_a4dde988b1b2adba65ae3efa69f65d960"><div class="ttname"><a href="struct_p_o_i_n_t___s_t_r_u_c_t.html#a4dde988b1b2adba65ae3efa69f65d960">POINT_STRUCT::x</a></div><div class="ttdeci">uint16_t x</div><div class="ttdoc">The X-Coordinate of the point. </div><div class="ttdef"><b>Definition:</b> <a href="touch_8h_source.html#l00087">touch.h:87</a></div></div>
|
|
<div class="ttc" id="group__calibrate_html_ga700642cd5aa866218124361499bbd072"><div class="ttname"><a href="group__calibrate.html#ga700642cd5aa866218124361499bbd072">get_screen_calibrate</a></div><div class="ttdeci">SCREEN_STRUCT * get_screen_calibrate()</div><div class="ttdef"><b>Definition:</b> <a href="screen__calibrate_8c_source.html#l00118">screen_calibrate.c:118</a></div></div>
|
|
<div class="ttc" id="screen__calibrate_8h_html_a2c0e9cadedb91327295c0249e8a3ad6f"><div class="ttname"><a href="screen__calibrate_8h.html#a2c0e9cadedb91327295c0249e8a3ad6f">DHEIGHT</a></div><div class="ttdeci">#define DHEIGHT</div><div class="ttdef"><b>Definition:</b> <a href="screen__calibrate_8h_source.html#l00047">screen_calibrate.h:47</a></div></div>
|
|
<div class="ttc" id="screen__calibrate_8c_html_a3017cd14eca2b9e67a69e7ea559b5eaa"><div class="ttname"><a href="screen__calibrate_8c.html#a3017cd14eca2b9e67a69e7ea559b5eaa">enter</a></div><div class="ttdeci">static void enter(void *screen)</div><div class="ttdef"><b>Definition:</b> <a href="screen__calibrate_8c_source.html#l00023">screen_calibrate.c:23</a></div></div>
|
|
<div class="ttc" id="tft_8h_html"><div class="ttname"><a href="tft_8h.html">tft.h</a></div></div>
|
|
<div class="ttc" id="touch_8h_html"><div class="ttname"><a href="touch_8h.html">touch.h</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="screen__calibrate_8h_html_ab27a8a2ceccbcaf9d8123727458f3cdf"><div class="ttname"><a href="screen__calibrate_8h.html#ab27a8a2ceccbcaf9d8123727458f3cdf">CBEGIN</a></div><div class="ttdeci">#define CBEGIN</div><div class="ttdef"><b>Definition:</b> <a href="screen__calibrate_8h_source.html#l00044">screen_calibrate.h:44</a></div></div>
|
|
<div class="ttc" id="struct_s_c_r_e_e_n___s_html"><div class="ttname"><a href="struct_s_c_r_e_e_n___s.html">SCREEN_S</a></div><div class="ttdef"><b>Definition:</b> <a href="screen_8h_source.html#l00052">screen.h:52</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__calibrate_8c_html_a5e8f84ee8ff4bf827775c38ae6752509"><div class="ttname"><a href="screen__calibrate_8c.html#a5e8f84ee8ff4bf827775c38ae6752509">update</a></div><div class="ttdeci">static void update(void *screen)</div><div class="ttdef"><b>Definition:</b> <a href="screen__calibrate_8c_source.html#l00033">screen_calibrate.c:33</a></div></div>
|
|
<div class="ttc" id="group__touch_html_ga42b918ead4f536a63f79601ab2978227"><div class="ttname"><a href="group__touch.html#ga42b918ead4f536a63f79601ab2978227">touch_get_last_point</a></div><div class="ttdeci">POINT_STRUCT touch_get_last_point()</div><div class="ttdef"><b>Definition:</b> <a href="touch_8c_source.html#l00211">touch.c:211</a></div></div>
|
|
<div class="ttc" id="group__tft_html_ga781855ab93845ce326dfca7c099259c6"><div class="ttname"><a href="group__tft.html#ga781855ab93845ce326dfca7c099259c6">tft_fill_rectangle</a></div><div class="ttdeci">void tft_fill_rectangle(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color)</div><div class="ttdef"><b>Definition:</b> <a href="tft_8c_source.html#l00067">tft.c:67</a></div></div>
|
|
<div class="ttc" id="screen__calibrate_8c_html_acd1409088e83cf2a8ba2cf96dd9b52f8"><div class="ttname"><a href="screen__calibrate_8c.html#acd1409088e83cf2a8ba2cf96dd9b52f8">leave</a></div><div class="ttdeci">static void leave(void *screen)</div><div class="ttdef"><b>Definition:</b> <a href="screen__calibrate_8c_source.html#l00028">screen_calibrate.c:28</a></div></div>
|
|
<div class="ttc" id="screen__calibrate_8c_html_a939fdd806f427cc8505ed817e28cce9d"><div class="ttname"><a href="screen__calibrate_8c.html#a939fdd806f427cc8505ed817e28cce9d">screen</a></div><div class="ttdeci">static SCREEN_STRUCT screen</div><div class="ttdef"><b>Definition:</b> <a href="screen__calibrate_8c_source.html#l00111">screen_calibrate.c:111</a></div></div>
|
|
<div class="ttc" id="struct_p_o_i_n_t___s_t_r_u_c_t_html"><div class="ttname"><a href="struct_p_o_i_n_t___s_t_r_u_c_t.html">POINT_STRUCT</a></div><div class="ttdef"><b>Definition:</b> <a href="touch_8h_source.html#l00086">touch.h:86</a></div></div>
|
|
<div class="ttc" id="screen__calibrate_8h_html_a7f32e26ea2ffbc0c5408e65b30d4f0c8"><div class="ttname"><a href="screen__calibrate_8h.html#a7f32e26ea2ffbc0c5408e65b30d4f0c8">DWIDTH</a></div><div class="ttdeci">#define DWIDTH</div><div class="ttdef"><b>Definition:</b> <a href="screen__calibrate_8h_source.html#l00046">screen_calibrate.h:46</a></div></div>
|
|
<div class="ttc" id="screen__calibrate_8h_html_a283da6e6504bde446407b33b014c4b54"><div class="ttname"><a href="screen__calibrate_8h.html#a283da6e6504bde446407b33b014c4b54">CEND</a></div><div class="ttdeci">#define CEND</div><div class="ttdef"><b>Definition:</b> <a href="screen__calibrate_8h_source.html#l00045">screen_calibrate.h:45</a></div></div>
|
|
<div class="ttc" id="screen__calibrate_8h_html"><div class="ttname"><a href="screen__calibrate_8h.html">screen_calibrate.h</a></div></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 class="ttc" id="group__touch_html_gacc714477cb936ab22e00904a69bbc022"><div class="ttname"><a href="group__touch.html#gacc714477cb936ab22e00904a69bbc022">touch_set_calibration_values</a></div><div class="ttdeci">void touch_set_calibration_values(int xs, int dx, int ys, int dy)</div><div class="ttdef"><b>Definition:</b> <a href="touch_8c_source.html#l00051">touch.c:51</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="screen__calibrate_8c_html_a8e440e007cdbbff7dc9442993266bcf0"><div class="ttname"><a href="screen__calibrate_8c.html#a8e440e007cdbbff7dc9442993266bcf0">calibration</a></div><div class="ttdeci">volatile bool calibration</div><div class="ttdef"><b>Definition:</b> <a href="touch_8c_source.html#l00040">touch.c:40</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Mon Jun 8 2015 11:01:18 for discoverpixy by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.9.1
|
|
</small></address>
|
|
</body>
|
|
</html>
|