Version 0.6 beta

Changed license to MPL
Minor source and doc changes.
This commit is contained in:
Sebastian Schumb (softwerker 2010-04-12 15:52:33 +02:00
parent a20cf31353
commit 0ba5683f07
36 changed files with 385 additions and 255 deletions

View File

@ -44,7 +44,7 @@
</div> </div>
</div> </div>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -284,7 +284,7 @@
<a name="l00261"></a>00261 <a name="l00261"></a>00261
<a name="l00262"></a>00262 <a name="l00262"></a>00262
</pre></div></div> </pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -44,7 +44,7 @@
</div> </div>
</div> </div>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -281,7 +281,7 @@
<a name="l00258"></a>00258 0x00,0x00,0x3C,0x3C,0x3C,0x3C,0x00,0x00, <span class="comment">// 0xFE</span> <a name="l00258"></a>00258 0x00,0x00,0x3C,0x3C,0x3C,0x3C,0x00,0x00, <span class="comment">// 0xFE</span>
<a name="l00259"></a>00259 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; <span class="comment">// 0xFF</span> <a name="l00259"></a>00259 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; <span class="comment">// 0xFF</span>
</pre></div></div> </pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -48,7 +48,7 @@
</div> </div>
</div> </div>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -82,7 +82,7 @@
</div> </div>
</div> </div>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -0,0 +1,42 @@
<!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"/>
<title>glcd: include/adc.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<h1>include/adc.h</h1><a href="adc_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef ADC_H</span>
<a name="l00002"></a><a class="code" href="adc_8h.html#a7d45c6fd49da9ab97ff07bff1c3ddee5">00002</a> <span class="preprocessor"></span><span class="preprocessor">#define ADC_H ADC_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;avr/io.h&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;util/delay.h&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;inttypes.h&gt;</span>
<a name="l00007"></a>00007
<a name="l00008"></a>00008
<a name="l00009"></a><a class="code" href="adc_8h.html#a4d2b3fe7091279727b389444ac7cd959">00009</a> <span class="preprocessor">#define ADC_READ_CYCELS 5</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011 uint16_t <a class="code" href="adc_8c.html#a812736491523e54e6bf10a142821e7fe">readADC</a>(uint8_t channel);
<a name="l00012"></a>00012
<a name="l00013"></a>00013 <span class="preprocessor">#endif </span><span class="comment">/* ADC_H */</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>

View File

@ -45,7 +45,7 @@
</div> </div>
</div> </div>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -58,7 +58,7 @@
<a name="l00035"></a>00035 0x00,0x00,0x00,0x00}; <a name="l00035"></a>00035 0x00,0x00,0x00,0x00};
<a name="l00036"></a>00036 <a name="l00036"></a>00036
</pre></div></div> </pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -38,7 +38,7 @@
<tr><td class="indexkey">include/<a class="el" href="touch_8h.html">touch.h</a> <a href="touch_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr> <tr><td class="indexkey">include/<a class="el" href="touch_8h.html">touch.h</a> <a href="touch_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
</table> </table>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -60,7 +60,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
</li> </li>
<li>lcd_clear() <li>lcd_clear()
: <a class="el" href="lc7981_8c.html#a35c08b1fa742e650f4873939707b893b">lc7981.c</a> : <a class="el" href="lc7981_8c.html#a35c08b1fa742e650f4873939707b893b">lc7981.c</a>
, <a class="el" href="lc7981_8h.html#a35c08b1fa742e650f4873939707b893b">lc7981.h</a> , <a class="el" href="lc7981_8h.html#ad235a86241458b1e7b8771688bfdaf9a">lc7981.h</a>
</li> </li>
<li>LCD_CRTL_DDR <li>LCD_CRTL_DDR
: <a class="el" href="lc7981_8h.html#a4b6c8400da9a1ca3d4d83f3ef1f9c34a">lc7981.h</a> : <a class="el" href="lc7981_8h.html#a4b6c8400da9a1ca3d4d83f3ef1f9c34a">lc7981.h</a>
@ -130,7 +130,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
, <a class="el" href="lc7981_8h.html#a71a77094675e2850e8a4b442fb6a366e">lc7981.h</a> , <a class="el" href="lc7981_8h.html#a71a77094675e2850e8a4b442fb6a366e">lc7981.h</a>
</li> </li>
<li>lcd_read_byte() <li>lcd_read_byte()
: <a class="el" href="lc7981_8h.html#a0f6a62f494f3cd66aa1f4a910bca71a8">lc7981.h</a> : <a class="el" href="lc7981_8h.html#a4e0e642817c38e2c73eb6355a45847e0">lc7981.h</a>
</li> </li>
<li>LCD_RS <li>LCD_RS
: <a class="el" href="lc7981_8h.html#a4781e073871c6f27f89b9463ad3a4ed1">lc7981.h</a> : <a class="el" href="lc7981_8h.html#a4781e073871c6f27f89b9463ad3a4ed1">lc7981.h</a>
@ -151,7 +151,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
: <a class="el" href="lc7981_8h.html#a7f5ebe0ca71b1298a7d3423850cc82b1">lc7981.h</a> : <a class="el" href="lc7981_8h.html#a7f5ebe0ca71b1298a7d3423850cc82b1">lc7981.h</a>
</li> </li>
<li>lcd_strobe() <li>lcd_strobe()
: <a class="el" href="lc7981_8h.html#a32fdf2306d469b45e2a3bfd020403d76">lc7981.h</a> : <a class="el" href="lc7981_8h.html#ae6e048011d567dd2859901544ebf7051">lc7981.h</a>
</li> </li>
<li>LCD_TEXT <li>LCD_TEXT
: <a class="el" href="lc7981_8h.html#a90a69d37f5c80f3ded970acf2dacf4c0">lc7981.h</a> : <a class="el" href="lc7981_8h.html#a90a69d37f5c80f3ded970acf2dacf4c0">lc7981.h</a>
@ -210,7 +210,7 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
: <a class="el" href="touch_8h.html#ac7d5ec105ddb1a3240d9f8b1dc259974">touch.h</a> : <a class="el" href="touch_8h.html#ac7d5ec105ddb1a3240d9f8b1dc259974">touch.h</a>
</li> </li>
<li>touch_is_pressed() <li>touch_is_pressed()
: <a class="el" href="touch_8h.html#a215947ded979abf11d490536508ecafc">touch.h</a> : <a class="el" href="touch_8h.html#ad9d13a515a5fa467bbdcdd9d28ba472a">touch.h</a>
, <a class="el" href="touch_8c.html#a215947ded979abf11d490536508ecafc">touch.c</a> , <a class="el" href="touch_8c.html#a215947ded979abf11d490536508ecafc">touch.c</a>
</li> </li>
<li>TOUCH_PIN <li>TOUCH_PIN
@ -224,11 +224,11 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
</li> </li>
<li>touch_readX() <li>touch_readX()
: <a class="el" href="touch_8c.html#adbea78d45cc89e43f7510ebf6eb01ac0">touch.c</a> : <a class="el" href="touch_8c.html#adbea78d45cc89e43f7510ebf6eb01ac0">touch.c</a>
, <a class="el" href="touch_8h.html#adbea78d45cc89e43f7510ebf6eb01ac0">touch.h</a> , <a class="el" href="touch_8h.html#ab428dce50579a72fb239cacb3d2a2bc8">touch.h</a>
</li> </li>
<li>touch_readY() <li>touch_readY()
: <a class="el" href="touch_8c.html#acdce8a6997f2d00dbfcb61be2e67e886">touch.c</a> : <a class="el" href="touch_8c.html#acdce8a6997f2d00dbfcb61be2e67e886">touch.c</a>
, <a class="el" href="touch_8h.html#acdce8a6997f2d00dbfcb61be2e67e886">touch.h</a> , <a class="el" href="touch_8h.html#adcb34e31728672eaebd034b5376f2752">touch.h</a>
</li> </li>
<li>TOUCH_X1 <li>TOUCH_X1
: <a class="el" href="touch_8h.html#a68fb42f50f3eb1acfc00869488260dd8">touch.h</a> : <a class="el" href="touch_8h.html#a68fb42f50f3eb1acfc00869488260dd8">touch.h</a>
@ -250,12 +250,12 @@ Here is a list of all functions, variables, defines, enums, and typedefs with li
: <a class="el" href="writing__demo_8h.html#a69a65c026c8b8e97c7b6f99de76ab00d">writing_demo.h</a> : <a class="el" href="writing__demo_8h.html#a69a65c026c8b8e97c7b6f99de76ab00d">writing_demo.h</a>
</li> </li>
<li>writing_demo() <li>writing_demo()
: <a class="el" href="writing__demo_8h.html#abdd925f1d9c8a09b9950c059c51e02d1">writing_demo.h</a> : <a class="el" href="writing__demo_8h.html#aefd6917e099be82568bcbb02444ce0f2">writing_demo.h</a>
, <a class="el" href="writing__demo_8c.html#abdd925f1d9c8a09b9950c059c51e02d1">writing_demo.c</a> , <a class="el" href="writing__demo_8c.html#abdd925f1d9c8a09b9950c059c51e02d1">writing_demo.c</a>
</li> </li>
</ul> </ul>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -166,7 +166,7 @@
</li> </li>
</ul> </ul>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -45,7 +45,7 @@
<h3><a class="anchor" id="index_l">- l -</a></h3><ul> <h3><a class="anchor" id="index_l">- l -</a></h3><ul>
<li>lcd_clear() <li>lcd_clear()
: <a class="el" href="lc7981_8c.html#a35c08b1fa742e650f4873939707b893b">lc7981.c</a> : <a class="el" href="lc7981_8c.html#a35c08b1fa742e650f4873939707b893b">lc7981.c</a>
, <a class="el" href="lc7981_8h.html#a35c08b1fa742e650f4873939707b893b">lc7981.h</a> , <a class="el" href="lc7981_8h.html#ad235a86241458b1e7b8771688bfdaf9a">lc7981.h</a>
</li> </li>
<li>lcd_gotoxy() <li>lcd_gotoxy()
: <a class="el" href="lc7981_8h.html#adbf47a5efdf02367ded1ebf8f9edb5fe">lc7981.h</a> : <a class="el" href="lc7981_8h.html#adbf47a5efdf02367ded1ebf8f9edb5fe">lc7981.h</a>
@ -76,10 +76,10 @@
, <a class="el" href="lc7981_8c.html#a71a77094675e2850e8a4b442fb6a366e">lc7981.c</a> , <a class="el" href="lc7981_8c.html#a71a77094675e2850e8a4b442fb6a366e">lc7981.c</a>
</li> </li>
<li>lcd_read_byte() <li>lcd_read_byte()
: <a class="el" href="lc7981_8h.html#a0f6a62f494f3cd66aa1f4a910bca71a8">lc7981.h</a> : <a class="el" href="lc7981_8h.html#a4e0e642817c38e2c73eb6355a45847e0">lc7981.h</a>
</li> </li>
<li>lcd_strobe() <li>lcd_strobe()
: <a class="el" href="lc7981_8h.html#a32fdf2306d469b45e2a3bfd020403d76">lc7981.h</a> : <a class="el" href="lc7981_8h.html#ae6e048011d567dd2859901544ebf7051">lc7981.h</a>
</li> </li>
<li>lcd_write_command() <li>lcd_write_command()
: <a class="el" href="lc7981_8h.html#a31db85f1f48f4802c24218bc165ea4e1">lc7981.h</a> : <a class="el" href="lc7981_8h.html#a31db85f1f48f4802c24218bc165ea4e1">lc7981.h</a>
@ -109,14 +109,14 @@
<h3><a class="anchor" id="index_t">- t -</a></h3><ul> <h3><a class="anchor" id="index_t">- t -</a></h3><ul>
<li>touch_is_pressed() <li>touch_is_pressed()
: <a class="el" href="touch_8c.html#a215947ded979abf11d490536508ecafc">touch.c</a> : <a class="el" href="touch_8c.html#a215947ded979abf11d490536508ecafc">touch.c</a>
, <a class="el" href="touch_8h.html#a215947ded979abf11d490536508ecafc">touch.h</a> , <a class="el" href="touch_8h.html#ad9d13a515a5fa467bbdcdd9d28ba472a">touch.h</a>
</li> </li>
<li>touch_readX() <li>touch_readX()
: <a class="el" href="touch_8h.html#adbea78d45cc89e43f7510ebf6eb01ac0">touch.h</a> : <a class="el" href="touch_8h.html#ab428dce50579a72fb239cacb3d2a2bc8">touch.h</a>
, <a class="el" href="touch_8c.html#adbea78d45cc89e43f7510ebf6eb01ac0">touch.c</a> , <a class="el" href="touch_8c.html#adbea78d45cc89e43f7510ebf6eb01ac0">touch.c</a>
</li> </li>
<li>touch_readY() <li>touch_readY()
: <a class="el" href="touch_8h.html#acdce8a6997f2d00dbfcb61be2e67e886">touch.h</a> : <a class="el" href="touch_8h.html#adcb34e31728672eaebd034b5376f2752">touch.h</a>
, <a class="el" href="touch_8c.html#acdce8a6997f2d00dbfcb61be2e67e886">touch.c</a> , <a class="el" href="touch_8c.html#acdce8a6997f2d00dbfcb61be2e67e886">touch.c</a>
</li> </li>
</ul> </ul>
@ -125,11 +125,11 @@
<h3><a class="anchor" id="index_w">- w -</a></h3><ul> <h3><a class="anchor" id="index_w">- w -</a></h3><ul>
<li>writing_demo() <li>writing_demo()
: <a class="el" href="writing__demo_8c.html#abdd925f1d9c8a09b9950c059c51e02d1">writing_demo.c</a> : <a class="el" href="writing__demo_8c.html#abdd925f1d9c8a09b9950c059c51e02d1">writing_demo.c</a>
, <a class="el" href="writing__demo_8h.html#abdd925f1d9c8a09b9950c059c51e02d1">writing_demo.h</a> , <a class="el" href="writing__demo_8h.html#aefd6917e099be82568bcbb02444ce0f2">writing_demo.h</a>
</li> </li>
</ul> </ul>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -45,7 +45,7 @@
</li> </li>
</ul> </ul>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -18,7 +18,7 @@
</div> </div>
<div class="contents"> <div class="contents">
<h1>glcd Documentation</h1><h3>0.1beta </h3></div> <h1>glcd Documentation</h1><h3>0.1beta </h3></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -43,6 +43,7 @@
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8c.html#a71a77094675e2850e8a4b442fb6a366e">lcd_plot_text</a> (uint8_t x_off, uint8_t y_off, const char *text, uint8_t fw, uint8_t fh, PGM_P font)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8c.html#a71a77094675e2850e8a4b442fb6a366e">lcd_plot_text</a> (uint8_t x_off, uint8_t y_off, const char *text, uint8_t fw, uint8_t fh, PGM_P font)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Plots a text using lcd_plot_char. <a href="#a71a77094675e2850e8a4b442fb6a366e"></a><br/></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Plots a text using lcd_plot_char. <a href="#a71a77094675e2850e8a4b442fb6a366e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8c.html#a0af06316c8d3d3a57b1ddcf949d85a8c">lcd_plot_pgmtext</a> (uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8c.html#a0af06316c8d3d3a57b1ddcf949d85a8c">lcd_plot_pgmtext</a> (uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Plots a text using lcd_plot_char. <a href="#a0af06316c8d3d3a57b1ddcf949d85a8c"></a><br/></td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr> <tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8c.html#aa29c0577fe01129f48b5b21301d3ea49">lcd_mode</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8c.html#aa29c0577fe01129f48b5b21301d3ea49">lcd_mode</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Currently used mode, can be text or graphic. <a href="#aa29c0577fe01129f48b5b21301d3ea49"></a><br/></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Currently used mode, can be text or graphic. <a href="#aa29c0577fe01129f48b5b21301d3ea49"></a><br/></td></tr>
@ -57,6 +58,7 @@
<tr> <tr>
<td class="memname">void lcd_clear </td> <td class="memname">void lcd_clear </td>
<td>(</td> <td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td> <td class="paramname"></td>
<td>&nbsp;)&nbsp;</td> <td>&nbsp;)&nbsp;</td>
<td></td> <td></td>
@ -189,8 +191,8 @@
<tr><td valign="top"></td><td valign="top"><em>x_off</em>&nbsp;</td><td>horizontal position of the bitmap </td></tr> <tr><td valign="top"></td><td valign="top"><em>x_off</em>&nbsp;</td><td>horizontal position of the bitmap </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y_off</em>&nbsp;</td><td>vertical position of the bitmap </td></tr> <tr><td valign="top"></td><td valign="top"><em>y_off</em>&nbsp;</td><td>vertical position of the bitmap </td></tr>
<tr><td valign="top"></td><td valign="top"><em>bitmap</em>&nbsp;</td><td>pointer to the bitmap in pgmspace </td></tr> <tr><td valign="top"></td><td valign="top"><em>bitmap</em>&nbsp;</td><td>pointer to the bitmap in pgmspace </td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>width of the bitmap </td></tr> <tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>width of the bitmap (we start counting from 0, so a 10px width bitmap will have w = 9) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>height of the bitmap</td></tr> <tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>height of the bitmap (we start counting from 0, so a 10px height bitmap will have h = 9)</td></tr>
</table> </table>
</dd> </dd>
</dl> </dl>
@ -319,6 +321,22 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>Plots a text using lcd_plot_char. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x_off</em>&nbsp;</td><td>horizontal position of the character </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y_off</em>&nbsp;</td><td>vertical position of the character </td></tr>
<tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>flash area where the text is stored </td></tr>
<tr><td valign="top"></td><td valign="top"><em>fw</em>&nbsp;</td><td>width of the font </td></tr>
<tr><td valign="top"></td><td valign="top"><em>fh</em>&nbsp;</td><td>height of the font </td></tr>
<tr><td valign="top"></td><td valign="top"><em>font</em>&nbsp;</td><td>pointer to the flash area where the font is stored</td></tr>
</table>
</dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="lc7981_8h.html#a2615737020b222e49a4d9c8d08a54f43" title="Plots a single character in graphicmode.">lcd_plot_char</a> </dd>
<dd>
<a class="el" href="lc7981_8h.html#a71a77094675e2850e8a4b442fb6a366e" title="Plots a text using lcd_plot_char.">lcd_plot_text</a> </dd></dl>
</div> </div>
</div> </div>
<a class="anchor" id="a735111507ed83172f58d5af2953e31c6"></a><!-- doxytag: member="lc7981.c::lcd_plot_pixel" ref="a735111507ed83172f58d5af2953e31c6" args="(uint8_t x, uint8_t y, uint8_t set)" --> <a class="anchor" id="a735111507ed83172f58d5af2953e31c6"></a><!-- doxytag: member="lc7981.c::lcd_plot_pixel" ref="a735111507ed83172f58d5af2953e31c6" args="(uint8_t x, uint8_t y, uint8_t set)" -->
@ -488,7 +506,7 @@
</div> </div>
</div> </div>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -79,8 +79,8 @@
<tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a9b18aca098d68e55bd7dd4b83f4f36e9">lcd_init</a> (uint8_t mode)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a9b18aca098d68e55bd7dd4b83f4f36e9">lcd_init</a> (uint8_t mode)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">lcd_init set the to default values. <a href="#a9b18aca098d68e55bd7dd4b83f4f36e9"></a><br/></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">lcd_init set the to default values. <a href="#a9b18aca098d68e55bd7dd4b83f4f36e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a35c08b1fa742e650f4873939707b893b">lcd_clear</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#ad235a86241458b1e7b8771688bfdaf9a">lcd_clear</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clears the display by setting the whole memory to 0. <a href="#a35c08b1fa742e650f4873939707b893b"></a><br/></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clears the display by setting the whole memory to 0. <a href="#ad235a86241458b1e7b8771688bfdaf9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a30251238a49999658455fdb0233757fb">lcd_write_text</a> (char *txt)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a30251238a49999658455fdb0233757fb">lcd_write_text</a> (char *txt)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Outputs text in at the current cursor position. <a href="#a30251238a49999658455fdb0233757fb"></a><br/></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Outputs text in at the current cursor position. <a href="#a30251238a49999658455fdb0233757fb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#adbf47a5efdf02367ded1ebf8f9edb5fe">lcd_gotoxy</a> (uint8_t x, uint8_t y)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#adbf47a5efdf02367ded1ebf8f9edb5fe">lcd_gotoxy</a> (uint8_t x, uint8_t y)</td></tr>
@ -94,12 +94,13 @@
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a71a77094675e2850e8a4b442fb6a366e">lcd_plot_text</a> (uint8_t x_off, uint8_t y_off, const char *text, uint8_t fw, uint8_t fh, PGM_P font)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a71a77094675e2850e8a4b442fb6a366e">lcd_plot_text</a> (uint8_t x_off, uint8_t y_off, const char *text, uint8_t fw, uint8_t fh, PGM_P font)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Plots a text using lcd_plot_char. <a href="#a71a77094675e2850e8a4b442fb6a366e"></a><br/></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Plots a text using lcd_plot_char. <a href="#a71a77094675e2850e8a4b442fb6a366e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a0af06316c8d3d3a57b1ddcf949d85a8c">lcd_plot_pgmtext</a> (uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a0af06316c8d3d3a57b1ddcf949d85a8c">lcd_plot_pgmtext</a> (uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a32fdf2306d469b45e2a3bfd020403d76">lcd_strobe</a> ()</td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Plots a text using lcd_plot_char. <a href="#a0af06316c8d3d3a57b1ddcf949d85a8c"></a><br/></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generates the strobe signal for writing data. <a href="#a32fdf2306d469b45e2a3bfd020403d76"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#ae6e048011d567dd2859901544ebf7051">lcd_strobe</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generates the strobe signal for writing data. <a href="#ae6e048011d567dd2859901544ebf7051"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a31db85f1f48f4802c24218bc165ea4e1">lcd_write_command</a> (uint8_t cmd, uint8_t data)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a31db85f1f48f4802c24218bc165ea4e1">lcd_write_command</a> (uint8_t cmd, uint8_t data)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Writes a command and a data byte to the lcd. <a href="#a31db85f1f48f4802c24218bc165ea4e1"></a><br/></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Writes a command and a data byte to the lcd. <a href="#a31db85f1f48f4802c24218bc165ea4e1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a0f6a62f494f3cd66aa1f4a910bca71a8">lcd_read_byte</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lc7981_8h.html#a4e0e642817c38e2c73eb6355a45847e0">lcd_read_byte</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reads a byte from the display memory. <a href="#a0f6a62f494f3cd66aa1f4a910bca71a8"></a><br/></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reads a byte from the display memory. <a href="#a4e0e642817c38e2c73eb6355a45847e0"></a><br/></td></tr>
</table> </table>
<hr/><h2>Define Documentation</h2> <hr/><h2>Define Documentation</h2>
<a class="anchor" id="ae6ff861bd55f4dc46f25f5f6abfca15f"></a><!-- doxytag: member="lc7981.h::LC7981_H_" ref="ae6ff861bd55f4dc46f25f5f6abfca15f" args="" --> <a class="anchor" id="ae6ff861bd55f4dc46f25f5f6abfca15f"></a><!-- doxytag: member="lc7981.h::LC7981_H_" ref="ae6ff861bd55f4dc46f25f5f6abfca15f" args="" -->
@ -478,13 +479,14 @@
</div> </div>
</div> </div>
<hr/><h2>Function Documentation</h2> <hr/><h2>Function Documentation</h2>
<a class="anchor" id="a35c08b1fa742e650f4873939707b893b"></a><!-- doxytag: member="lc7981.h::lcd_clear" ref="a35c08b1fa742e650f4873939707b893b" args="()" --> <a class="anchor" id="ad235a86241458b1e7b8771688bfdaf9a"></a><!-- doxytag: member="lc7981.h::lcd_clear" ref="ad235a86241458b1e7b8771688bfdaf9a" args="(void)" -->
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">void lcd_clear </td> <td class="memname">void lcd_clear </td>
<td>(</td> <td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td> <td class="paramname"></td>
<td>&nbsp;)&nbsp;</td> <td>&nbsp;)&nbsp;</td>
<td></td> <td></td>
@ -617,8 +619,8 @@
<tr><td valign="top"></td><td valign="top"><em>x_off</em>&nbsp;</td><td>horizontal position of the bitmap </td></tr> <tr><td valign="top"></td><td valign="top"><em>x_off</em>&nbsp;</td><td>horizontal position of the bitmap </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y_off</em>&nbsp;</td><td>vertical position of the bitmap </td></tr> <tr><td valign="top"></td><td valign="top"><em>y_off</em>&nbsp;</td><td>vertical position of the bitmap </td></tr>
<tr><td valign="top"></td><td valign="top"><em>bitmap</em>&nbsp;</td><td>pointer to the bitmap in pgmspace </td></tr> <tr><td valign="top"></td><td valign="top"><em>bitmap</em>&nbsp;</td><td>pointer to the bitmap in pgmspace </td></tr>
<tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>width of the bitmap </td></tr> <tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>width of the bitmap (we start counting from 0, so a 10px width bitmap will have w = 9) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>height of the bitmap</td></tr> <tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>height of the bitmap (we start counting from 0, so a 10px height bitmap will have h = 9)</td></tr>
</table> </table>
</dd> </dd>
</dl> </dl>
@ -747,6 +749,22 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>Plots a text using lcd_plot_char. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x_off</em>&nbsp;</td><td>horizontal position of the character </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y_off</em>&nbsp;</td><td>vertical position of the character </td></tr>
<tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>flash area where the text is stored </td></tr>
<tr><td valign="top"></td><td valign="top"><em>fw</em>&nbsp;</td><td>width of the font </td></tr>
<tr><td valign="top"></td><td valign="top"><em>fh</em>&nbsp;</td><td>height of the font </td></tr>
<tr><td valign="top"></td><td valign="top"><em>font</em>&nbsp;</td><td>pointer to the flash area where the font is stored</td></tr>
</table>
</dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="lc7981_8h.html#a2615737020b222e49a4d9c8d08a54f43" title="Plots a single character in graphicmode.">lcd_plot_char</a> </dd>
<dd>
<a class="el" href="lc7981_8h.html#a71a77094675e2850e8a4b442fb6a366e" title="Plots a text using lcd_plot_char.">lcd_plot_text</a> </dd></dl>
</div> </div>
</div> </div>
<a class="anchor" id="a735111507ed83172f58d5af2953e31c6"></a><!-- doxytag: member="lc7981.h::lcd_plot_pixel" ref="a735111507ed83172f58d5af2953e31c6" args="(uint8_t x, uint8_t y, uint8_t set)" --> <a class="anchor" id="a735111507ed83172f58d5af2953e31c6"></a><!-- doxytag: member="lc7981.h::lcd_plot_pixel" ref="a735111507ed83172f58d5af2953e31c6" args="(uint8_t x, uint8_t y, uint8_t set)" -->
@ -857,13 +875,14 @@
</div> </div>
</div> </div>
<a class="anchor" id="a0f6a62f494f3cd66aa1f4a910bca71a8"></a><!-- doxytag: member="lc7981.h::lcd_read_byte" ref="a0f6a62f494f3cd66aa1f4a910bca71a8" args="()" --> <a class="anchor" id="a4e0e642817c38e2c73eb6355a45847e0"></a><!-- doxytag: member="lc7981.h::lcd_read_byte" ref="a4e0e642817c38e2c73eb6355a45847e0" args="(void)" -->
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">static uint8_t lcd_read_byte </td> <td class="memname">static uint8_t lcd_read_byte </td>
<td>(</td> <td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td> <td class="paramname"></td>
<td>&nbsp;)&nbsp;</td> <td>&nbsp;)&nbsp;</td>
<td><code> [inline, static]</code></td> <td><code> [inline, static]</code></td>
@ -879,13 +898,14 @@
</div> </div>
</div> </div>
<a class="anchor" id="a32fdf2306d469b45e2a3bfd020403d76"></a><!-- doxytag: member="lc7981.h::lcd_strobe" ref="a32fdf2306d469b45e2a3bfd020403d76" args="()" --> <a class="anchor" id="ae6e048011d567dd2859901544ebf7051"></a><!-- doxytag: member="lc7981.h::lcd_strobe" ref="ae6e048011d567dd2859901544ebf7051" args="(void)" -->
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">static void lcd_strobe </td> <td class="memname">static void lcd_strobe </td>
<td>(</td> <td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td> <td class="paramname"></td>
<td>&nbsp;)&nbsp;</td> <td>&nbsp;)&nbsp;</td>
<td><code> [inline, static]</code></td> <td><code> [inline, static]</code></td>
@ -963,7 +983,7 @@
</div> </div>
</div> </div>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -27,144 +27,147 @@
<a name="l00004"></a>00004 <span class="comment"> * Created on: 01.05.2009</span> <a name="l00004"></a>00004 <span class="comment"> * Created on: 01.05.2009</span>
<a name="l00005"></a>00005 <span class="comment"> * Author: sebastian</span> <a name="l00005"></a>00005 <span class="comment"> * Author: sebastian</span>
<a name="l00006"></a>00006 <span class="comment"> *</span> <a name="l00006"></a>00006 <span class="comment"> *</span>
<a name="l00007"></a>00007 <span class="comment"> * This file is part of Sebastians AVR Library for lc7981.</span> <a name="l00007"></a>00007 <span class="comment"> * Version 0.6 beta</span>
<a name="l00008"></a>00008 <span class="comment"> *</span> <a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> * Sebastians AVR Library for lc789 is free software: you can redistribute it and/or modify</span> <a name="l00009"></a>00009 <span class="comment"> * The contents of this file are subject to the Mozilla Public License</span>
<a name="l00010"></a>00010 <span class="comment"> * it under the terms of the GNU General Public License as published by</span> <a name="l00010"></a>00010 <span class="comment"> * Version 1.1 (the &quot;License&quot;); you may not use this file except in</span>
<a name="l00011"></a>00011 <span class="comment"> * the Free Software Foundation, either version 3 of the License, or</span> <a name="l00011"></a>00011 <span class="comment"> * compliance with the License. You may obtain a copy of the License at</span>
<a name="l00012"></a>00012 <span class="comment"> * (at your option) any later version.</span> <a name="l00012"></a>00012 <span class="comment"> * http://www.mozilla.org/MPL/</span>
<a name="l00013"></a>00013 <span class="comment"> *</span> <a name="l00013"></a>00013 <span class="comment"> *</span>
<a name="l00014"></a>00014 <span class="comment"> * Sebastians AVR Library is distributed in the hope that it will be useful,</span> <a name="l00014"></a>00014 <span class="comment"> * Software distributed under the License is distributed on an &quot;AS IS&quot;</span>
<a name="l00015"></a>00015 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00015"></a>00015 <span class="comment"> * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the</span>
<a name="l00016"></a>00016 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> <a name="l00016"></a>00016 <span class="comment"> * License for the specific language governing rights and limitations</span>
<a name="l00017"></a>00017 <span class="comment"> * GNU General Public License for more details.</span> <a name="l00017"></a>00017 <span class="comment"> * under the License.</span>
<a name="l00018"></a>00018 <span class="comment"> *</span> <a name="l00018"></a>00018 <span class="comment"> *</span>
<a name="l00019"></a>00019 <span class="comment"> * You should have received a copy of the GNU General Public License</span> <a name="l00019"></a>00019 <span class="comment"> * The Original Code is Sebastians AVR Library for lc7981.</span>
<a name="l00020"></a>00020 <span class="comment"> * along with Sebastians AVR Library. If not, see &lt;http://www.gnu.org/licenses/&gt;.</span> <a name="l00020"></a>00020 <span class="comment"> *</span>
<a name="l00021"></a>00021 <span class="comment"> *</span> <a name="l00021"></a>00021 <span class="comment"> * The Initial Developer of the Original Code is Sebastian Schumb (webmaster@sebastians-site.de).</span>
<a name="l00022"></a>00022 <span class="comment"> *</span> <a name="l00022"></a>00022 <span class="comment"> *</span>
<a name="l00023"></a>00023 <span class="comment"> * &apos;Do the thing you want to do and let your spirits guide you through.</span> <a name="l00023"></a>00023 <span class="comment"> * Contributor(s): None so far.</span>
<a name="l00024"></a>00024 <span class="comment"> * Live a life, worth being remembered.&apos;</span> <a name="l00024"></a>00024 <span class="comment"> *</span>
<a name="l00025"></a>00025 <span class="comment"> * -- Remembered - Firewind --</span> <a name="l00025"></a>00025 <span class="comment"> * Any version below 0.6 is still licensed under GPL.</span>
<a name="l00026"></a>00026 <span class="comment"> */</span> <a name="l00026"></a>00026 <span class="comment"> * The GPLed versions will neither be supported, nor developed any further.</span>
<a name="l00027"></a>00027 <a name="l00027"></a>00027 <span class="comment"> *</span>
<a name="l00028"></a>00028 <a name="l00028"></a>00028 <span class="comment"> * &apos;Do the thing you want to do and let your spirits guide you through.</span>
<a name="l00029"></a>00029 <a name="l00029"></a>00029 <span class="comment"> * Live a life, worth being remembered.&apos;</span>
<a name="l00030"></a>00030 <a name="l00030"></a>00030 <span class="comment"> * -- Remembered - Firewind --</span>
<a name="l00031"></a>00031 <span class="preprocessor">#ifndef LC7981_H_</span> <a name="l00031"></a>00031 <span class="comment"> */</span>
<a name="l00032"></a><a class="code" href="lc7981_8h.html#ae6ff861bd55f4dc46f25f5f6abfca15f">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define LC7981_H_ LC7981_H_ </span> <a name="l00032"></a>00032
<a name="l00033"></a>00033 <span class="preprocessor"></span> <a name="l00033"></a>00033
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#include &lt;avr/io.h&gt;</span> <a name="l00034"></a>00034 <span class="preprocessor">#ifndef LC7981_H_</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &lt;util/delay.h&gt;</span> <a name="l00035"></a><a class="code" href="lc7981_8h.html#ae6ff861bd55f4dc46f25f5f6abfca15f">00035</a> <span class="preprocessor"></span><span class="preprocessor">#define LC7981_H_ LC7981_H_ </span>
<a name="l00036"></a>00036 <span class="preprocessor">#include &lt;avr/pgmspace.h&gt;</span> <a name="l00036"></a>00036 <span class="preprocessor"></span>
<a name="l00037"></a>00037 <a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#include &lt;avr/io.h&gt;</span>
<a name="l00038"></a><a class="code" href="lc7981_8h.html#a8e945df7ca614325cafa08258e82a63c">00038</a> <span class="preprocessor">#define LCD_CTRL PORTA </span> <a name="l00038"></a>00038 <span class="preprocessor">#include &lt;util/delay.h&gt;</span>
<a name="l00039"></a><a class="code" href="lc7981_8h.html#a4b6c8400da9a1ca3d4d83f3ef1f9c34a">00039</a> <span class="preprocessor">#define LCD_CRTL_DDR DDRA </span> <a name="l00039"></a>00039 <span class="preprocessor">#include &lt;avr/pgmspace.h&gt;</span>
<a name="l00040"></a><a class="code" href="lc7981_8h.html#a4781e073871c6f27f89b9463ad3a4ed1">00040</a> <span class="preprocessor">#define LCD_RS PA4 </span> <a name="l00040"></a>00040
<a name="l00041"></a><a class="code" href="lc7981_8h.html#a26089a10ddd59a0dc7283c19ccc02533">00041</a> <span class="preprocessor">#define LCD_RW PA2 </span> <a name="l00041"></a><a class="code" href="lc7981_8h.html#a8e945df7ca614325cafa08258e82a63c">00041</a> <span class="preprocessor">#define LCD_CTRL PORTA </span>
<a name="l00042"></a><a class="code" href="lc7981_8h.html#a1640ffbc0d8ec0f7edb04a2b93918072">00042</a> <span class="preprocessor">#define LCD_EN PA0 </span> <a name="l00042"></a><a class="code" href="lc7981_8h.html#a4b6c8400da9a1ca3d4d83f3ef1f9c34a">00042</a> <span class="preprocessor">#define LCD_CRTL_DDR DDRA </span>
<a name="l00043"></a>00043 <span class="preprocessor"></span> <a name="l00043"></a><a class="code" href="lc7981_8h.html#a4781e073871c6f27f89b9463ad3a4ed1">00043</a> <span class="preprocessor">#define LCD_RS PA4 </span>
<a name="l00044"></a>00044 <span class="preprocessor"></span> <a name="l00044"></a><a class="code" href="lc7981_8h.html#a26089a10ddd59a0dc7283c19ccc02533">00044</a> <span class="preprocessor">#define LCD_RW PA2 </span>
<a name="l00045"></a>00045 <a name="l00045"></a><a class="code" href="lc7981_8h.html#a1640ffbc0d8ec0f7edb04a2b93918072">00045</a> <span class="preprocessor">#define LCD_EN PA0 </span>
<a name="l00046"></a><a class="code" href="lc7981_8h.html#a25e9d818788f36ed74d7c4579f87f2a6">00046</a> <span class="preprocessor">#define LCD_DATA PORTD </span> <a name="l00046"></a>00046 <span class="preprocessor"></span>
<a name="l00047"></a><a class="code" href="lc7981_8h.html#abd18e47e71697a28fd0ca765cefc7411">00047</a> <span class="preprocessor">#define LCD_DATA_PIN PIND </span> <a name="l00047"></a>00047 <span class="preprocessor"></span>
<a name="l00048"></a><a class="code" href="lc7981_8h.html#a0c114e723aa4c162c415fb6d4d963dd7">00048</a> <span class="preprocessor">#define LCD_DATA_DDR DDRD </span> <a name="l00048"></a>00048
<a name="l00049"></a>00049 <span class="preprocessor"></span> <a name="l00049"></a><a class="code" href="lc7981_8h.html#a25e9d818788f36ed74d7c4579f87f2a6">00049</a> <span class="preprocessor">#define LCD_DATA PORTD </span>
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="comment">// Macros for (un)setting the control pins</span> <a name="l00050"></a><a class="code" href="lc7981_8h.html#abd18e47e71697a28fd0ca765cefc7411">00050</a> <span class="preprocessor">#define LCD_DATA_PIN PIND </span>
<a name="l00051"></a><a class="code" href="lc7981_8h.html#a795b48274d3f80bc744a707b67fd93e9">00051</a> <span class="preprocessor">#define lcd_rs_high() (LCD_CTRL |= (1 &lt;&lt; LCD_RS)) </span> <a name="l00051"></a><a class="code" href="lc7981_8h.html#a0c114e723aa4c162c415fb6d4d963dd7">00051</a> <span class="preprocessor">#define LCD_DATA_DDR DDRD </span>
<a name="l00052"></a><a class="code" href="lc7981_8h.html#a6edb13d59460246fb4cc32ada1c9f4a8">00052</a> <span class="preprocessor">#define lcd_rs_low() (LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_RS)) </span> <a name="l00052"></a>00052 <span class="preprocessor"></span>
<a name="l00053"></a>00053 <span class="preprocessor"></span> <a name="l00053"></a>00053 <span class="preprocessor"></span><span class="comment">// Macros for (un)setting the control pins</span>
<a name="l00054"></a><a class="code" href="lc7981_8h.html#ad0ce3cd9b481370ad4de36eff08440c8">00054</a> <span class="preprocessor"></span><span class="preprocessor">#define lcd_rw_high() (LCD_CTRL |= (1 &lt;&lt; LCD_RW)) </span> <a name="l00054"></a><a class="code" href="lc7981_8h.html#a795b48274d3f80bc744a707b67fd93e9">00054</a> <span class="preprocessor">#define lcd_rs_high() (LCD_CTRL |= (1 &lt;&lt; LCD_RS)) </span>
<a name="l00055"></a><a class="code" href="lc7981_8h.html#a7f5ebe0ca71b1298a7d3423850cc82b1">00055</a> <span class="preprocessor">#define lcd_rw_low() (LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_RW)) </span> <a name="l00055"></a><a class="code" href="lc7981_8h.html#a6edb13d59460246fb4cc32ada1c9f4a8">00055</a> <span class="preprocessor">#define lcd_rs_low() (LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_RS)) </span>
<a name="l00056"></a>00056 <span class="preprocessor"></span> <a name="l00056"></a>00056 <span class="preprocessor"></span>
<a name="l00057"></a><a class="code" href="lc7981_8h.html#ae14be306d3620577abc8613d40401b04">00057</a> <span class="preprocessor"></span><span class="preprocessor">#define lcd_en_high() (LCD_CTRL |= (1 &lt;&lt; LCD_EN)) </span> <a name="l00057"></a><a class="code" href="lc7981_8h.html#ad0ce3cd9b481370ad4de36eff08440c8">00057</a> <span class="preprocessor"></span><span class="preprocessor">#define lcd_rw_high() (LCD_CTRL |= (1 &lt;&lt; LCD_RW)) </span>
<a name="l00058"></a><a class="code" href="lc7981_8h.html#ad8dcdb36a9410fd96b2c936b7c9355dd">00058</a> <span class="preprocessor">#define lcd_en_low() (LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_EN)) </span> <a name="l00058"></a><a class="code" href="lc7981_8h.html#a7f5ebe0ca71b1298a7d3423850cc82b1">00058</a> <span class="preprocessor">#define lcd_rw_low() (LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_RW)) </span>
<a name="l00059"></a>00059 <span class="preprocessor"></span> <a name="l00059"></a>00059 <span class="preprocessor"></span>
<a name="l00060"></a>00060 <span class="preprocessor"></span> <a name="l00060"></a><a class="code" href="lc7981_8h.html#ae14be306d3620577abc8613d40401b04">00060</a> <span class="preprocessor"></span><span class="preprocessor">#define lcd_en_high() (LCD_CTRL |= (1 &lt;&lt; LCD_EN)) </span>
<a name="l00061"></a><a class="code" href="lc7981_8h.html#a90a69d37f5c80f3ded970acf2dacf4c0">00061</a> <span class="preprocessor">#define LCD_TEXT 0 </span> <a name="l00061"></a><a class="code" href="lc7981_8h.html#ad8dcdb36a9410fd96b2c936b7c9355dd">00061</a> <span class="preprocessor">#define lcd_en_low() (LCD_CTRL &amp;= ~(1 &lt;&lt; LCD_EN)) </span>
<a name="l00062"></a><a class="code" href="lc7981_8h.html#a720ef60606ac38ca3a5ab96a9c2b8168">00062</a> <span class="preprocessor">#define LCD_TEXT_LINES 10 </span> <a name="l00062"></a>00062 <span class="preprocessor"></span>
<a name="l00063"></a><a class="code" href="lc7981_8h.html#a82f0a630f3c41b5233f2ceb07c7dd736">00063</a> <span class="preprocessor">#define LCD_TEXT_COLUMNS 26 </span> <a name="l00063"></a>00063 <span class="preprocessor"></span>
<a name="l00064"></a>00064 <span class="preprocessor"></span> <a name="l00064"></a><a class="code" href="lc7981_8h.html#a90a69d37f5c80f3ded970acf2dacf4c0">00064</a> <span class="preprocessor">#define LCD_TEXT 0 </span>
<a name="l00065"></a><a class="code" href="lc7981_8h.html#adfaedf8da8e73d39a98d709b519a3117">00065</a> <span class="preprocessor"></span><span class="preprocessor">#define LCD_GRAPHIC 1 </span> <a name="l00065"></a><a class="code" href="lc7981_8h.html#a720ef60606ac38ca3a5ab96a9c2b8168">00065</a> <span class="preprocessor">#define LCD_TEXT_LINES 10 </span>
<a name="l00066"></a><a class="code" href="lc7981_8h.html#a51e83be6f6929f2a29d5467cd937dfc6">00066</a> <span class="preprocessor">#define LCD_GRAPHIC_WIDTH 160 </span> <a name="l00066"></a><a class="code" href="lc7981_8h.html#a82f0a630f3c41b5233f2ceb07c7dd736">00066</a> <span class="preprocessor">#define LCD_TEXT_COLUMNS 26 </span>
<a name="l00067"></a><a class="code" href="lc7981_8h.html#a70265c4f840ef78872243e91c923af2f">00067</a> <span class="preprocessor">#define LCD_GRAPHIC_HEIGHT 80 </span> <a name="l00067"></a>00067 <span class="preprocessor"></span>
<a name="l00068"></a><a class="code" href="lc7981_8h.html#aeb2d212a26da4a5a4d3231b2773023e5">00068</a> <span class="preprocessor">#define PIXEL_ON 1 </span> <a name="l00068"></a><a class="code" href="lc7981_8h.html#adfaedf8da8e73d39a98d709b519a3117">00068</a> <span class="preprocessor"></span><span class="preprocessor">#define LCD_GRAPHIC 1 </span>
<a name="l00069"></a><a class="code" href="lc7981_8h.html#acda2f1b1cf6310700d0d91643c40e068">00069</a> <span class="preprocessor">#define PIXEL_OFF 0 </span> <a name="l00069"></a><a class="code" href="lc7981_8h.html#a51e83be6f6929f2a29d5467cd937dfc6">00069</a> <span class="preprocessor">#define LCD_GRAPHIC_WIDTH 160 </span>
<a name="l00070"></a>00070 <span class="preprocessor"></span> <a name="l00070"></a><a class="code" href="lc7981_8h.html#a70265c4f840ef78872243e91c923af2f">00070</a> <span class="preprocessor">#define LCD_GRAPHIC_HEIGHT 80 </span>
<a name="l00071"></a>00071 <span class="preprocessor"></span><span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a9b18aca098d68e55bd7dd4b83f4f36e9" title="lcd_init set the to default values.">lcd_init</a>(uint8_t mode); <a name="l00071"></a><a class="code" href="lc7981_8h.html#aeb2d212a26da4a5a4d3231b2773023e5">00071</a> <span class="preprocessor">#define PIXEL_ON 1 </span>
<a name="l00072"></a>00072 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a35c08b1fa742e650f4873939707b893b" title="Clears the display by setting the whole memory to 0.">lcd_clear</a>(); <a name="l00072"></a><a class="code" href="lc7981_8h.html#acda2f1b1cf6310700d0d91643c40e068">00072</a> <span class="preprocessor">#define PIXEL_OFF 0 </span>
<a name="l00073"></a>00073 <a name="l00073"></a>00073 <span class="preprocessor"></span>
<a name="l00074"></a>00074 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a30251238a49999658455fdb0233757fb" title="Outputs text in at the current cursor position.">lcd_write_text</a>(<span class="keywordtype">char</span> *txt); <a name="l00074"></a>00074 <span class="preprocessor"></span><span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a9b18aca098d68e55bd7dd4b83f4f36e9" title="lcd_init set the to default values.">lcd_init</a>(uint8_t mode);
<a name="l00075"></a>00075 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#adbf47a5efdf02367ded1ebf8f9edb5fe" title="Set the display cursor to a specific location.">lcd_gotoxy</a>(uint8_t x, uint8_t y); <a name="l00075"></a>00075 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a35c08b1fa742e650f4873939707b893b" title="Clears the display by setting the whole memory to 0.">lcd_clear</a>(<span class="keywordtype">void</span>);
<a name="l00076"></a>00076 <a name="l00076"></a>00076
<a name="l00077"></a>00077 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a735111507ed83172f58d5af2953e31c6" title="set or unset a pixel at the specified location">lcd_plot_pixel</a>(uint8_t x, uint8_t y, uint8_t <span class="keyword">set</span>); <a name="l00077"></a>00077 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a30251238a49999658455fdb0233757fb" title="Outputs text in at the current cursor position.">lcd_write_text</a>(<span class="keywordtype">char</span> *txt);
<a name="l00078"></a>00078 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a21d8458d8f15ac3799a2f6303b85c136" title="This function will plot a bitmap with the upper left corner to the given coordinates...">lcd_plot_bitmap</a>(uint8_t x, uint8_t y, PGM_P bitmap, uint8_t w, uint8_t h); <a name="l00078"></a>00078 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#adbf47a5efdf02367ded1ebf8f9edb5fe" title="Set the display cursor to a specific location.">lcd_gotoxy</a>(uint8_t x, uint8_t y);
<a name="l00079"></a>00079 <a name="l00079"></a>00079
<a name="l00080"></a>00080 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a2615737020b222e49a4d9c8d08a54f43" title="Plots a single character in graphicmode.">lcd_plot_char</a>(uint8_t x_off, uint8_t y_off, uint8_t c, uint8_t fw, uint8_t fh, PGM_P font); <a name="l00080"></a>00080 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a735111507ed83172f58d5af2953e31c6" title="set or unset a pixel at the specified location">lcd_plot_pixel</a>(uint8_t x, uint8_t y, uint8_t <span class="keyword">set</span>);
<a name="l00081"></a>00081 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a71a77094675e2850e8a4b442fb6a366e" title="Plots a text using lcd_plot_char.">lcd_plot_text</a>(uint8_t x_off, uint8_t y_off, <span class="keyword">const</span> <span class="keywordtype">char</span> *text, uint8_t fw, uint8_t fh, PGM_P font); <a name="l00081"></a>00081 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a21d8458d8f15ac3799a2f6303b85c136" title="This function will plot a bitmap with the upper left corner to the given coordinates...">lcd_plot_bitmap</a>(uint8_t x, uint8_t y, PGM_P bitmap, uint8_t w, uint8_t h);
<a name="l00082"></a>00082 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a0af06316c8d3d3a57b1ddcf949d85a8c">lcd_plot_pgmtext</a>(uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font); <a name="l00082"></a>00082
<a name="l00083"></a>00083 <a name="l00083"></a>00083 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a2615737020b222e49a4d9c8d08a54f43" title="Plots a single character in graphicmode.">lcd_plot_char</a>(uint8_t x_off, uint8_t y_off, uint8_t c, uint8_t fw, uint8_t fh, PGM_P font);
<a name="l00084"></a>00084 <a name="l00084"></a>00084 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a71a77094675e2850e8a4b442fb6a366e" title="Plots a text using lcd_plot_char.">lcd_plot_text</a>(uint8_t x_off, uint8_t y_off, <span class="keyword">const</span> <span class="keywordtype">char</span> *text, uint8_t fw, uint8_t fh, PGM_P font);
<a name="l00085"></a>00085 <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="lc7981_8h.html#a32fdf2306d469b45e2a3bfd020403d76" title="Generates the strobe signal for writing data.">lcd_strobe</a>(); <a name="l00085"></a>00085 <span class="keywordtype">void</span> <a class="code" href="lc7981_8c.html#a0af06316c8d3d3a57b1ddcf949d85a8c" title="Plots a text using lcd_plot_char.">lcd_plot_pgmtext</a>(uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font);
<a name="l00086"></a>00086 <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="lc7981_8h.html#a31db85f1f48f4802c24218bc165ea4e1" title="Writes a command and a data byte to the lcd.">lcd_write_command</a>(uint8_t cmd, uint8_t data); <a name="l00086"></a>00086
<a name="l00087"></a>00087 <span class="keyword">static</span> <span class="keyword">inline</span> uint8_t <a class="code" href="lc7981_8h.html#a0f6a62f494f3cd66aa1f4a910bca71a8" title="Reads a byte from the display memory.">lcd_read_byte</a>(); <a name="l00087"></a>00087
<a name="l00088"></a>00088 <a name="l00088"></a>00088 <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="lc7981_8h.html#ae6e048011d567dd2859901544ebf7051" title="Generates the strobe signal for writing data.">lcd_strobe</a>(<span class="keywordtype">void</span>);
<a name="l00089"></a>00089 <a name="l00089"></a>00089 <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="lc7981_8h.html#a31db85f1f48f4802c24218bc165ea4e1" title="Writes a command and a data byte to the lcd.">lcd_write_command</a>(uint8_t cmd, uint8_t data);
<a name="l00090"></a>00090 <span class="comment">// Static inline functions, that can be used in the library and in the main programm</span> <a name="l00090"></a>00090 <span class="keyword">static</span> <span class="keyword">inline</span> uint8_t <a class="code" href="lc7981_8h.html#a4e0e642817c38e2c73eb6355a45847e0" title="Reads a byte from the display memory.">lcd_read_byte</a>(<span class="keywordtype">void</span>);
<a name="l00091"></a>00091 <a name="l00091"></a>00091
<a name="l00092"></a>00092 <a name="l00092"></a>00092
<a name="l00097"></a><a class="code" href="lc7981_8h.html#a32fdf2306d469b45e2a3bfd020403d76">00097</a> <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="lc7981_8h.html#a32fdf2306d469b45e2a3bfd020403d76" title="Generates the strobe signal for writing data.">lcd_strobe</a>() { <a name="l00093"></a>00093 <span class="comment">// Static inline functions, that can be used in the library and in the main programm</span>
<a name="l00098"></a>00098 <a class="code" href="lc7981_8h.html#ae14be306d3620577abc8613d40401b04" title="Set the strobe pin high.">lcd_en_high</a>(); <a name="l00094"></a>00094
<a name="l00099"></a>00099 _delay_us(1); <a name="l00095"></a>00095
<a name="l00100"></a>00100 <a class="code" href="lc7981_8h.html#ad8dcdb36a9410fd96b2c936b7c9355dd" title="Set the strobe pin low.">lcd_en_low</a>(); <a name="l00100"></a><a class="code" href="lc7981_8h.html#ae6e048011d567dd2859901544ebf7051">00100</a> <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="lc7981_8h.html#ae6e048011d567dd2859901544ebf7051" title="Generates the strobe signal for writing data.">lcd_strobe</a>(<span class="keywordtype">void</span>) {
<a name="l00101"></a>00101 <a name="l00101"></a>00101 <a class="code" href="lc7981_8h.html#ae14be306d3620577abc8613d40401b04" title="Set the strobe pin high.">lcd_en_high</a>();
<a name="l00102"></a>00102 } <a name="l00102"></a>00102 _delay_us(1);
<a name="l00103"></a>00103 <a name="l00103"></a>00103 <a class="code" href="lc7981_8h.html#ad8dcdb36a9410fd96b2c936b7c9355dd" title="Set the strobe pin low.">lcd_en_low</a>();
<a name="l00104"></a>00104 <a name="l00104"></a>00104
<a name="l00111"></a><a class="code" href="lc7981_8h.html#a31db85f1f48f4802c24218bc165ea4e1">00111</a> <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="lc7981_8h.html#a31db85f1f48f4802c24218bc165ea4e1" title="Writes a command and a data byte to the lcd.">lcd_write_command</a>(uint8_t cmd, uint8_t data) { <a name="l00105"></a>00105 }
<a name="l00112"></a>00112 _delay_us(30); <a name="l00106"></a>00106
<a name="l00113"></a>00113 <a class="code" href="lc7981_8h.html#a7f5ebe0ca71b1298a7d3423850cc82b1" title="Set the Register-Select pin low.">lcd_rw_low</a>(); <a name="l00107"></a>00107
<a name="l00114"></a>00114 <a class="code" href="lc7981_8h.html#a795b48274d3f80bc744a707b67fd93e9" title="Set the Register-Select pin high.">lcd_rs_high</a>(); <a name="l00114"></a><a class="code" href="lc7981_8h.html#a31db85f1f48f4802c24218bc165ea4e1">00114</a> <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="lc7981_8h.html#a31db85f1f48f4802c24218bc165ea4e1" title="Writes a command and a data byte to the lcd.">lcd_write_command</a>(uint8_t cmd, uint8_t data) {
<a name="l00115"></a>00115 <a class="code" href="lc7981_8h.html#a25e9d818788f36ed74d7c4579f87f2a6" title="Port used for data.">LCD_DATA</a> = cmd; <a name="l00115"></a>00115 _delay_us(30);
<a name="l00116"></a>00116 _delay_us(1); <a name="l00116"></a>00116 <a class="code" href="lc7981_8h.html#a7f5ebe0ca71b1298a7d3423850cc82b1" title="Set the Register-Select pin low.">lcd_rw_low</a>();
<a name="l00117"></a>00117 <a class="code" href="lc7981_8h.html#a32fdf2306d469b45e2a3bfd020403d76" title="Generates the strobe signal for writing data.">lcd_strobe</a>(); <a name="l00117"></a>00117 <a class="code" href="lc7981_8h.html#a795b48274d3f80bc744a707b67fd93e9" title="Set the Register-Select pin high.">lcd_rs_high</a>();
<a name="l00118"></a>00118 <a name="l00118"></a>00118 <a class="code" href="lc7981_8h.html#a25e9d818788f36ed74d7c4579f87f2a6" title="Port used for data.">LCD_DATA</a> = cmd;
<a name="l00119"></a>00119 <a class="code" href="lc7981_8h.html#a6edb13d59460246fb4cc32ada1c9f4a8" title="Set the Register-Select pin low.">lcd_rs_low</a>(); <a name="l00119"></a>00119 _delay_us(1);
<a name="l00120"></a>00120 <a class="code" href="lc7981_8h.html#a25e9d818788f36ed74d7c4579f87f2a6" title="Port used for data.">LCD_DATA</a> = data; <a name="l00120"></a>00120 <a class="code" href="lc7981_8h.html#ae6e048011d567dd2859901544ebf7051" title="Generates the strobe signal for writing data.">lcd_strobe</a>();
<a name="l00121"></a>00121 _delay_us(1); <a name="l00121"></a>00121
<a name="l00122"></a>00122 <a class="code" href="lc7981_8h.html#a32fdf2306d469b45e2a3bfd020403d76" title="Generates the strobe signal for writing data.">lcd_strobe</a>(); <a name="l00122"></a>00122 <a class="code" href="lc7981_8h.html#a6edb13d59460246fb4cc32ada1c9f4a8" title="Set the Register-Select pin low.">lcd_rs_low</a>();
<a name="l00123"></a>00123 <a name="l00123"></a>00123 <a class="code" href="lc7981_8h.html#a25e9d818788f36ed74d7c4579f87f2a6" title="Port used for data.">LCD_DATA</a> = data;
<a name="l00124"></a>00124 } <a name="l00124"></a>00124 _delay_us(1);
<a name="l00125"></a>00125 <a name="l00125"></a>00125 <a class="code" href="lc7981_8h.html#ae6e048011d567dd2859901544ebf7051" title="Generates the strobe signal for writing data.">lcd_strobe</a>();
<a name="l00134"></a><a class="code" href="lc7981_8h.html#a0f6a62f494f3cd66aa1f4a910bca71a8">00134</a> <span class="keyword">static</span> <span class="keyword">inline</span> uint8_t <a class="code" href="lc7981_8h.html#a0f6a62f494f3cd66aa1f4a910bca71a8" title="Reads a byte from the display memory.">lcd_read_byte</a>() { <a name="l00126"></a>00126
<a name="l00135"></a>00135 uint8_t i,data; <a name="l00127"></a>00127 }
<a name="l00136"></a>00136 <a name="l00128"></a>00128
<a name="l00137"></a>00137 <span class="keywordflow">for</span>(i = 0; i &lt; 2; i++) { <a name="l00137"></a><a class="code" href="lc7981_8h.html#a4e0e642817c38e2c73eb6355a45847e0">00137</a> <span class="keyword">static</span> <span class="keyword">inline</span> uint8_t <a class="code" href="lc7981_8h.html#a4e0e642817c38e2c73eb6355a45847e0" title="Reads a byte from the display memory.">lcd_read_byte</a>(<span class="keywordtype">void</span>) {
<a name="l00138"></a>00138 _delay_us(30); <a name="l00138"></a>00138 uint8_t i,data;
<a name="l00139"></a>00139 <a class="code" href="lc7981_8h.html#a7f5ebe0ca71b1298a7d3423850cc82b1" title="Set the Register-Select pin low.">lcd_rw_low</a>(); <a name="l00139"></a>00139
<a name="l00140"></a>00140 <a class="code" href="lc7981_8h.html#a795b48274d3f80bc744a707b67fd93e9" title="Set the Register-Select pin high.">lcd_rs_high</a>(); <a name="l00140"></a>00140 <span class="keywordflow">for</span>(i = 0; i &lt; 2; i++) {
<a name="l00141"></a>00141 <a class="code" href="lc7981_8h.html#a25e9d818788f36ed74d7c4579f87f2a6" title="Port used for data.">LCD_DATA</a> = 0x0D; <a name="l00141"></a>00141 _delay_us(30);
<a name="l00142"></a>00142 _delay_us(1); <a name="l00142"></a>00142 <a class="code" href="lc7981_8h.html#a7f5ebe0ca71b1298a7d3423850cc82b1" title="Set the Register-Select pin low.">lcd_rw_low</a>();
<a name="l00143"></a>00143 <a class="code" href="lc7981_8h.html#ae14be306d3620577abc8613d40401b04" title="Set the strobe pin high.">lcd_en_high</a>(); <a name="l00143"></a>00143 <a class="code" href="lc7981_8h.html#a795b48274d3f80bc744a707b67fd93e9" title="Set the Register-Select pin high.">lcd_rs_high</a>();
<a name="l00144"></a>00144 <a name="l00144"></a>00144 <a class="code" href="lc7981_8h.html#a25e9d818788f36ed74d7c4579f87f2a6" title="Port used for data.">LCD_DATA</a> = 0x0D;
<a name="l00145"></a>00145 <a class="code" href="lc7981_8h.html#a0c114e723aa4c162c415fb6d4d963dd7" title="Data-Direction-Register for data.">LCD_DATA_DDR</a> = 0x00; <a name="l00145"></a>00145 _delay_us(1);
<a name="l00146"></a>00146 <a class="code" href="lc7981_8h.html#a6edb13d59460246fb4cc32ada1c9f4a8" title="Set the Register-Select pin low.">lcd_rs_low</a>(); <a name="l00146"></a>00146 <a class="code" href="lc7981_8h.html#ae14be306d3620577abc8613d40401b04" title="Set the strobe pin high.">lcd_en_high</a>();
<a name="l00147"></a>00147 <a class="code" href="lc7981_8h.html#ad0ce3cd9b481370ad4de36eff08440c8" title="Set the Read-Write-Select pin high.">lcd_rw_high</a>(); <a name="l00147"></a>00147
<a name="l00148"></a>00148 _delay_us(1); <a name="l00148"></a>00148 <a class="code" href="lc7981_8h.html#a0c114e723aa4c162c415fb6d4d963dd7" title="Data-Direction-Register for data.">LCD_DATA_DDR</a> = 0x00;
<a name="l00149"></a>00149 data = (uint8_t) <a class="code" href="lc7981_8h.html#abd18e47e71697a28fd0ca765cefc7411" title="Port used for reading the data.">LCD_DATA_PIN</a>; <a name="l00149"></a>00149 <a class="code" href="lc7981_8h.html#a6edb13d59460246fb4cc32ada1c9f4a8" title="Set the Register-Select pin low.">lcd_rs_low</a>();
<a name="l00150"></a>00150 <a class="code" href="lc7981_8h.html#ad8dcdb36a9410fd96b2c936b7c9355dd" title="Set the strobe pin low.">lcd_en_low</a>(); <a name="l00150"></a>00150 <a class="code" href="lc7981_8h.html#ad0ce3cd9b481370ad4de36eff08440c8" title="Set the Read-Write-Select pin high.">lcd_rw_high</a>();
<a name="l00151"></a>00151 <a class="code" href="lc7981_8h.html#a0c114e723aa4c162c415fb6d4d963dd7" title="Data-Direction-Register for data.">LCD_DATA_DDR</a> = 0xFF; <a name="l00151"></a>00151 _delay_us(1);
<a name="l00152"></a>00152 } <a name="l00152"></a>00152 data = (uint8_t) <a class="code" href="lc7981_8h.html#abd18e47e71697a28fd0ca765cefc7411" title="Port used for reading the data.">LCD_DATA_PIN</a>;
<a name="l00153"></a>00153 <span class="keywordflow">return</span> data; <a name="l00153"></a>00153 <a class="code" href="lc7981_8h.html#ad8dcdb36a9410fd96b2c936b7c9355dd" title="Set the strobe pin low.">lcd_en_low</a>();
<a name="l00154"></a>00154 } <a name="l00154"></a>00154 <a class="code" href="lc7981_8h.html#a0c114e723aa4c162c415fb6d4d963dd7" title="Data-Direction-Register for data.">LCD_DATA_DDR</a> = 0xFF;
<a name="l00155"></a>00155 <a name="l00155"></a>00155 }
<a name="l00156"></a>00156 <a name="l00156"></a>00156 <span class="keywordflow">return</span> data;
<a name="l00157"></a>00157 <a name="l00157"></a>00157 }
<a name="l00158"></a>00158 <a name="l00158"></a>00158
<a name="l00159"></a>00159 <a name="l00159"></a>00159
<a name="l00160"></a>00160 <span class="preprocessor">#endif </span><span class="comment">/* LC7981_H_ */</span> <a name="l00160"></a>00160
<a name="l00161"></a>00161
<a name="l00162"></a>00162
<a name="l00163"></a>00163 <span class="preprocessor">#endif </span><span class="comment">/* LC7981_H_ */</span>
</pre></div></div> </pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -27,7 +27,6 @@
<code>#include &lt;stdlib.h&gt;</code><br/> <code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="lc7981_8h_source.html">include/lc7981.h</a>&quot;</code><br/> <code>#include &quot;<a class="el" href="lc7981_8h_source.html">include/lc7981.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="adc_8h_source.html">include/adc.h</a>&quot;</code><br/> <code>#include &quot;<a class="el" href="adc_8h_source.html">include/adc.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="button_8h_source.html">button.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="12x16__horizontal__LSB__1_8h_source.html">12x16_horizontal_LSB_1.h</a>&quot;</code><br/> <code>#include &quot;<a class="el" href="12x16__horizontal__LSB__1_8h_source.html">12x16_horizontal_LSB_1.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="touch_8h_source.html">include/touch.h</a>&quot;</code><br/> <code>#include &quot;<a class="el" href="touch_8h_source.html">include/touch.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="writing__demo_8h_source.html">writing_demo.h</a>&quot;</code><br/> <code>#include &quot;<a class="el" href="writing__demo_8h_source.html">writing_demo.h</a>&quot;</code><br/>
@ -54,7 +53,7 @@
</div> </div>
</div> </div>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -39,6 +39,7 @@
<tr> <tr>
<td class="memname">uint8_t touch_is_pressed </td> <td class="memname">uint8_t touch_is_pressed </td>
<td>(</td> <td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td> <td class="paramname"></td>
<td>&nbsp;)&nbsp;</td> <td>&nbsp;)&nbsp;</td>
<td></td> <td></td>
@ -60,6 +61,7 @@
<tr> <tr>
<td class="memname">int16_t touch_readX </td> <td class="memname">int16_t touch_readX </td>
<td>(</td> <td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td> <td class="paramname"></td>
<td>&nbsp;)&nbsp;</td> <td>&nbsp;)&nbsp;</td>
<td></td> <td></td>
@ -77,6 +79,7 @@
<tr> <tr>
<td class="memname">int16_t touch_readY </td> <td class="memname">int16_t touch_readY </td>
<td>(</td> <td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td> <td class="paramname"></td>
<td>&nbsp;)&nbsp;</td> <td>&nbsp;)&nbsp;</td>
<td></td> <td></td>
@ -88,7 +91,7 @@
</div> </div>
</div> </div>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -39,10 +39,10 @@
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="touch_8h.html#a347b052e8cb9e548e2aaebbb9d8ed405">TOUCH_Y2</a>&nbsp;&nbsp;&nbsp;PA7</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="touch_8h.html#a347b052e8cb9e548e2aaebbb9d8ed405">TOUCH_Y2</a>&nbsp;&nbsp;&nbsp;PA7</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="touch_8h.html#a7f34b02cb67c42f6d7b862a061496da7">TOUCH_PRESSED_LEVEL</a>&nbsp;&nbsp;&nbsp;1000</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="touch_8h.html#a7f34b02cb67c42f6d7b862a061496da7">TOUCH_PRESSED_LEVEL</a>&nbsp;&nbsp;&nbsp;1000</td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="touch_8h.html#a215947ded979abf11d490536508ecafc">touch_is_pressed</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="touch_8h.html#ad9d13a515a5fa467bbdcdd9d28ba472a">touch_is_pressed</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC. <a href="#a215947ded979abf11d490536508ecafc"></a><br/></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC. <a href="#ad9d13a515a5fa467bbdcdd9d28ba472a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="touch_8h.html#adbea78d45cc89e43f7510ebf6eb01ac0">touch_readX</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="touch_8h.html#ab428dce50579a72fb239cacb3d2a2bc8">touch_readX</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="touch_8h.html#acdce8a6997f2d00dbfcb61be2e67e886">touch_readY</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="touch_8h.html#adcb34e31728672eaebd034b5376f2752">touch_readY</a> (void)</td></tr>
</table> </table>
<hr/><h2>Define Documentation</h2> <hr/><h2>Define Documentation</h2>
<a class="anchor" id="a7df7927e1c0467a8e462b483a7da62c7"></a><!-- doxytag: member="touch.h::TOUCH_DDR" ref="a7df7927e1c0467a8e462b483a7da62c7" args="" --> <a class="anchor" id="a7df7927e1c0467a8e462b483a7da62c7"></a><!-- doxytag: member="touch.h::TOUCH_DDR" ref="a7df7927e1c0467a8e462b483a7da62c7" args="" -->
@ -166,13 +166,14 @@
</div> </div>
</div> </div>
<hr/><h2>Function Documentation</h2> <hr/><h2>Function Documentation</h2>
<a class="anchor" id="a215947ded979abf11d490536508ecafc"></a><!-- doxytag: member="touch.h::touch_is_pressed" ref="a215947ded979abf11d490536508ecafc" args="()" --> <a class="anchor" id="ad9d13a515a5fa467bbdcdd9d28ba472a"></a><!-- doxytag: member="touch.h::touch_is_pressed" ref="ad9d13a515a5fa467bbdcdd9d28ba472a" args="(void)" -->
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">uint8_t touch_is_pressed </td> <td class="memname">uint8_t touch_is_pressed </td>
<td>(</td> <td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td> <td class="paramname"></td>
<td>&nbsp;)&nbsp;</td> <td>&nbsp;)&nbsp;</td>
<td></td> <td></td>
@ -187,13 +188,14 @@
</div> </div>
</div> </div>
<a class="anchor" id="adbea78d45cc89e43f7510ebf6eb01ac0"></a><!-- doxytag: member="touch.h::touch_readX" ref="adbea78d45cc89e43f7510ebf6eb01ac0" args="()" --> <a class="anchor" id="ab428dce50579a72fb239cacb3d2a2bc8"></a><!-- doxytag: member="touch.h::touch_readX" ref="ab428dce50579a72fb239cacb3d2a2bc8" args="(void)" -->
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">int16_t touch_readX </td> <td class="memname">int16_t touch_readX </td>
<td>(</td> <td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td> <td class="paramname"></td>
<td>&nbsp;)&nbsp;</td> <td>&nbsp;)&nbsp;</td>
<td></td> <td></td>
@ -204,13 +206,14 @@
</div> </div>
</div> </div>
<a class="anchor" id="acdce8a6997f2d00dbfcb61be2e67e886"></a><!-- doxytag: member="touch.h::touch_readY" ref="acdce8a6997f2d00dbfcb61be2e67e886" args="()" --> <a class="anchor" id="adcb34e31728672eaebd034b5376f2752"></a><!-- doxytag: member="touch.h::touch_readY" ref="adcb34e31728672eaebd034b5376f2752" args="(void)" -->
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">int16_t touch_readY </td> <td class="memname">int16_t touch_readY </td>
<td>(</td> <td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td> <td class="paramname"></td>
<td>&nbsp;)&nbsp;</td> <td>&nbsp;)&nbsp;</td>
<td></td> <td></td>
@ -222,7 +225,7 @@
</div> </div>
</div> </div>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -39,14 +39,14 @@
<a name="l00022"></a>00022 <span class="preprocessor"></span> <a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00023"></a><a class="code" href="touch_8h.html#a7f34b02cb67c42f6d7b862a061496da7">00023</a> <span class="preprocessor">#define TOUCH_PRESSED_LEVEL 1000</span> <a name="l00023"></a><a class="code" href="touch_8h.html#a7f34b02cb67c42f6d7b862a061496da7">00023</a> <span class="preprocessor">#define TOUCH_PRESSED_LEVEL 1000</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span> <a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 uint8_t <a class="code" href="touch_8c.html#a215947ded979abf11d490536508ecafc" title="This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the...">touch_is_pressed</a>(); <a name="l00025"></a>00025 uint8_t <a class="code" href="touch_8c.html#a215947ded979abf11d490536508ecafc" title="This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the...">touch_is_pressed</a>(<span class="keywordtype">void</span>);
<a name="l00026"></a>00026 <a name="l00026"></a>00026
<a name="l00027"></a>00027 int16_t <a class="code" href="touch_8c.html#adbea78d45cc89e43f7510ebf6eb01ac0">touch_readX</a>(); <a name="l00027"></a>00027 int16_t <a class="code" href="touch_8c.html#adbea78d45cc89e43f7510ebf6eb01ac0">touch_readX</a>(<span class="keywordtype">void</span>);
<a name="l00028"></a>00028 int16_t <a class="code" href="touch_8c.html#acdce8a6997f2d00dbfcb61be2e67e886">touch_readY</a>() ; <a name="l00028"></a>00028 int16_t <a class="code" href="touch_8c.html#acdce8a6997f2d00dbfcb61be2e67e886">touch_readY</a>(<span class="keywordtype">void</span>);
<a name="l00029"></a>00029 <a name="l00029"></a>00029
<a name="l00030"></a>00030 <span class="preprocessor">#endif </span><span class="comment">/* TOUCH_H_ */</span> <a name="l00030"></a>00030 <span class="preprocessor">#endif </span><span class="comment">/* TOUCH_H_ */</span>
</pre></div></div> </pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -27,7 +27,7 @@
<table border="0" cellpadding="0" cellspacing="0"> <table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="writing__demo_8c.html#abdd925f1d9c8a09b9950c059c51e02d1">writing_demo</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="writing__demo_8c.html#abdd925f1d9c8a09b9950c059c51e02d1">writing_demo</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">particel_demo.c <a href="#abdd925f1d9c8a09b9950c059c51e02d1"></a><br/></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="writing__demo_8c.html">writing_demo.c</a> <a href="#abdd925f1d9c8a09b9950c059c51e02d1"></a><br/></td></tr>
</table> </table>
<hr/><h2>Function Documentation</h2> <hr/><h2>Function Documentation</h2>
<a class="anchor" id="abdd925f1d9c8a09b9950c059c51e02d1"></a><!-- doxytag: member="writing_demo.c::writing_demo" ref="abdd925f1d9c8a09b9950c059c51e02d1" args="()" --> <a class="anchor" id="abdd925f1d9c8a09b9950c059c51e02d1"></a><!-- doxytag: member="writing_demo.c::writing_demo" ref="abdd925f1d9c8a09b9950c059c51e02d1" args="()" -->
@ -37,6 +37,7 @@
<tr> <tr>
<td class="memname">void writing_demo </td> <td class="memname">void writing_demo </td>
<td>(</td> <td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td> <td class="paramname"></td>
<td>&nbsp;)&nbsp;</td> <td>&nbsp;)&nbsp;</td>
<td></td> <td></td>
@ -45,13 +46,13 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>particel_demo.c </p> <p><a class="el" href="writing__demo_8c.html">writing_demo.c</a> </p>
<p>Created on: 29.05.2009 Author: sebastian </p> <p>Created on: 29.05.2009 Author: sebastian </p>
</div> </div>
</div> </div>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -32,10 +32,10 @@
<table border="0" cellpadding="0" cellspacing="0"> <table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Defines</h2></td></tr> <tr><td colspan="2"><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="writing__demo_8h.html#a69a65c026c8b8e97c7b6f99de76ab00d">WIRTING_DEMO_H_</a>&nbsp;&nbsp;&nbsp;WIRTING_DEMO_H_</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="writing__demo_8h.html#a69a65c026c8b8e97c7b6f99de76ab00d">WIRTING_DEMO_H_</a>&nbsp;&nbsp;&nbsp;WIRTING_DEMO_H_</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">particel_demo.h <a href="#a69a65c026c8b8e97c7b6f99de76ab00d"></a><br/></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="writing__demo_8h.html">writing_demo.h</a> <a href="#a69a65c026c8b8e97c7b6f99de76ab00d"></a><br/></td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="writing__demo_8h.html#abdd925f1d9c8a09b9950c059c51e02d1">writing_demo</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="writing__demo_8h.html#aefd6917e099be82568bcbb02444ce0f2">writing_demo</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">particel_demo.c <a href="#abdd925f1d9c8a09b9950c059c51e02d1"></a><br/></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="writing__demo_8c.html">writing_demo.c</a> <a href="#aefd6917e099be82568bcbb02444ce0f2"></a><br/></td></tr>
</table> </table>
<hr/><h2>Define Documentation</h2> <hr/><h2>Define Documentation</h2>
<a class="anchor" id="a69a65c026c8b8e97c7b6f99de76ab00d"></a><!-- doxytag: member="writing_demo.h::WIRTING_DEMO_H_" ref="a69a65c026c8b8e97c7b6f99de76ab00d" args="" --> <a class="anchor" id="a69a65c026c8b8e97c7b6f99de76ab00d"></a><!-- doxytag: member="writing_demo.h::WIRTING_DEMO_H_" ref="a69a65c026c8b8e97c7b6f99de76ab00d" args="" -->
@ -49,19 +49,20 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>particel_demo.h </p> <p><a class="el" href="writing__demo_8h.html">writing_demo.h</a> </p>
<p>Created on: 29.05.2009 Author: sebastian </p> <p>Created on: 29.05.2009 Author: sebastian </p>
</div> </div>
</div> </div>
<hr/><h2>Function Documentation</h2> <hr/><h2>Function Documentation</h2>
<a class="anchor" id="abdd925f1d9c8a09b9950c059c51e02d1"></a><!-- doxytag: member="writing_demo.h::writing_demo" ref="abdd925f1d9c8a09b9950c059c51e02d1" args="()" --> <a class="anchor" id="aefd6917e099be82568bcbb02444ce0f2"></a><!-- doxytag: member="writing_demo.h::writing_demo" ref="aefd6917e099be82568bcbb02444ce0f2" args="(void)" -->
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">void writing_demo </td> <td class="memname">void writing_demo </td>
<td>(</td> <td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td> <td class="paramname"></td>
<td>&nbsp;)&nbsp;</td> <td>&nbsp;)&nbsp;</td>
<td></td> <td></td>
@ -70,13 +71,13 @@
</div> </div>
<div class="memdoc"> <div class="memdoc">
<p>particel_demo.c </p> <p><a class="el" href="writing__demo_8c.html">writing_demo.c</a> </p>
<p>Created on: 29.05.2009 Author: sebastian </p> <p>Created on: 29.05.2009 Author: sebastian </p>
</div> </div>
</div> </div>
</div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -30,11 +30,11 @@
<a name="l00013"></a>00013 <span class="preprocessor">#include &quot;<a class="code" href="adc_8h.html">include/adc.h</a>&quot;</span> <a name="l00013"></a>00013 <span class="preprocessor">#include &quot;<a class="code" href="adc_8h.html">include/adc.h</a>&quot;</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &quot;<a class="code" href="touch_8h.html">include/touch.h</a>&quot;</span> <a name="l00014"></a>00014 <span class="preprocessor">#include &quot;<a class="code" href="touch_8h.html">include/touch.h</a>&quot;</span>
<a name="l00015"></a>00015 <a name="l00015"></a>00015
<a name="l00016"></a>00016 <span class="keywordtype">void</span> <a class="code" href="writing__demo_8c.html#abdd925f1d9c8a09b9950c059c51e02d1" title="particel_demo.c">writing_demo</a>(); <a name="l00016"></a>00016 <span class="keywordtype">void</span> <a class="code" href="writing__demo_8c.html#abdd925f1d9c8a09b9950c059c51e02d1" title="writing_demo.c">writing_demo</a>(<span class="keywordtype">void</span>);
<a name="l00017"></a>00017 <a name="l00017"></a>00017
<a name="l00018"></a>00018 <span class="preprocessor">#endif </span><span class="comment">/* PARTICEL_DEMO_H_ */</span> <a name="l00018"></a>00018 <span class="preprocessor">#endif </span><span class="comment">/* PARTICEL_DEMO_H_ */</span>
</pre></div></div> </pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 Dec 2009 for glcd by&nbsp; <hr size="1"/><address style="text-align: right;"><small>Generated on 12 Apr 2010 for glcd by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body> </body>

View File

@ -27,9 +27,9 @@
\fancyplain{}{\bfseries\thepage}% \fancyplain{}{\bfseries\thepage}%
} }
\rfoot[\fancyplain{}{\bfseries\scriptsize% \rfoot[\fancyplain{}{\bfseries\scriptsize%
Generated on Fri Dec 18 12:56:27 2009 for glcd by Doxygen }]{} Generated on Mon Apr 12 15:50:48 2010 for glcd by Doxygen }]{}
\lfoot[]{\fancyplain{}{\bfseries\scriptsize% \lfoot[]{\fancyplain{}{\bfseries\scriptsize%
Generated on Fri Dec 18 12:56:27 2009 for glcd by Doxygen }} Generated on Mon Apr 12 15:50:48 2010 for glcd by Doxygen }}
\cfoot{} \cfoot{}
%---------- Internal commands used in this style file ---------------- %---------- Internal commands used in this style file ----------------

View File

@ -21,7 +21,7 @@ void {\bf lcd\_\-plot\_\-char} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, uint8\
void {\bf lcd\_\-plot\_\-text} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, const char $\ast$text, uint8\_\-t fw, uint8\_\-t fh, PGM\_\-P font) void {\bf lcd\_\-plot\_\-text} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, const char $\ast$text, uint8\_\-t fw, uint8\_\-t fh, PGM\_\-P font)
\begin{DoxyCompactList}\small\item\em Plots a text using lcd\_\-plot\_\-char. \item\end{DoxyCompactList}\item \begin{DoxyCompactList}\small\item\em Plots a text using lcd\_\-plot\_\-char. \item\end{DoxyCompactList}\item
void {\bf lcd\_\-plot\_\-pgmtext} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, PGM\_\-P text, uint8\_\-t fw, uint8\_\-t fh, PGM\_\-P font) void {\bf lcd\_\-plot\_\-pgmtext} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, PGM\_\-P text, uint8\_\-t fw, uint8\_\-t fh, PGM\_\-P font)
\end{DoxyCompactItemize} \begin{DoxyCompactList}\small\item\em Plots a text using lcd\_\-plot\_\-char. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables} \subsection*{Variables}
\begin{DoxyCompactItemize} \begin{DoxyCompactItemize}
\item \item
@ -34,7 +34,7 @@ uint8\_\-t {\bf lcd\_\-curline}
\subsection{Function Documentation} \subsection{Function Documentation}
\index{lc7981.c@{lc7981.c}!lcd\_\-clear@{lcd\_\-clear}} \index{lc7981.c@{lc7981.c}!lcd\_\-clear@{lcd\_\-clear}}
\index{lcd\_\-clear@{lcd\_\-clear}!lc7981.c@{lc7981.c}} \index{lcd\_\-clear@{lcd\_\-clear}!lc7981.c@{lc7981.c}}
\subsubsection[{lcd\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-clear ()}\label{lc7981_8c_a35c08b1fa742e650f4873939707b893b} \subsubsection[{lcd\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-clear (void)}\label{lc7981_8c_a35c08b1fa742e650f4873939707b893b}
Clears the display by setting the whole memory to 0. \index{lc7981.c@{lc7981.c}!lcd\_\-gotoxy@{lcd\_\-gotoxy}} Clears the display by setting the whole memory to 0. \index{lc7981.c@{lc7981.c}!lcd\_\-gotoxy@{lcd\_\-gotoxy}}
@ -71,7 +71,7 @@ This function will plot a bitmap with the upper left corner to the given coordin
\begin{DoxyParams}{Parameters} \begin{DoxyParams}{Parameters}
\item[{\em x\_\-off}]horizontal position of the bitmap \item[{\em y\_\-off}]vertical position of the bitmap \item[{\em bitmap}]pointer to the bitmap in pgmspace \item[{\em w}]width of the bitmap \item[{\em h}]height of the bitmap\end{DoxyParams} \item[{\em x\_\-off}]horizontal position of the bitmap \item[{\em y\_\-off}]vertical position of the bitmap \item[{\em bitmap}]pointer to the bitmap in pgmspace \item[{\em w}]width of the bitmap (we start counting from 0, so a 10px width bitmap will have w = 9) \item[{\em h}]height of the bitmap (we start counting from 0, so a 10px height bitmap will have h = 9)\end{DoxyParams}
This function is dedicated to Greta, one of the most important persons in my life so far.\par This function is dedicated to Greta, one of the most important persons in my life so far.\par
\index{lc7981.c@{lc7981.c}!lcd\_\-plot\_\-char@{lcd\_\-plot\_\-char}} \index{lc7981.c@{lc7981.c}!lcd\_\-plot\_\-char@{lcd\_\-plot\_\-char}}
\index{lcd\_\-plot\_\-char@{lcd\_\-plot\_\-char}!lc7981.c@{lc7981.c}} \index{lcd\_\-plot\_\-char@{lcd\_\-plot\_\-char}!lc7981.c@{lc7981.c}}
@ -92,6 +92,16 @@ Plots a single character in graphicmode. Each character of the font is stored li
\index{lc7981.c@{lc7981.c}!lcd\_\-plot\_\-pgmtext@{lcd\_\-plot\_\-pgmtext}} \index{lc7981.c@{lc7981.c}!lcd\_\-plot\_\-pgmtext@{lcd\_\-plot\_\-pgmtext}}
\index{lcd\_\-plot\_\-pgmtext@{lcd\_\-plot\_\-pgmtext}!lc7981.c@{lc7981.c}} \index{lcd\_\-plot\_\-pgmtext@{lcd\_\-plot\_\-pgmtext}!lc7981.c@{lc7981.c}}
\subsubsection[{lcd\_\-plot\_\-pgmtext}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-plot\_\-pgmtext (uint8\_\-t {\em x\_\-off}, \/ uint8\_\-t {\em y\_\-off}, \/ PGM\_\-P {\em text}, \/ uint8\_\-t {\em fw}, \/ uint8\_\-t {\em fh}, \/ PGM\_\-P {\em font})}\label{lc7981_8c_a0af06316c8d3d3a57b1ddcf949d85a8c} \subsubsection[{lcd\_\-plot\_\-pgmtext}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-plot\_\-pgmtext (uint8\_\-t {\em x\_\-off}, \/ uint8\_\-t {\em y\_\-off}, \/ PGM\_\-P {\em text}, \/ uint8\_\-t {\em fw}, \/ uint8\_\-t {\em fh}, \/ PGM\_\-P {\em font})}\label{lc7981_8c_a0af06316c8d3d3a57b1ddcf949d85a8c}
Plots a text using lcd\_\-plot\_\-char.
\begin{DoxyParams}{Parameters}
\item[{\em x\_\-off}]horizontal position of the character \item[{\em y\_\-off}]vertical position of the character \item[{\em text}]flash area where the text is stored \item[{\em fw}]width of the font \item[{\em fh}]height of the font \item[{\em font}]pointer to the flash area where the font is stored\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\doxyref{lcd\_\-plot\_\-char}{p.}{lc7981_8h_a2615737020b222e49a4d9c8d08a54f43}
\doxyref{lcd\_\-plot\_\-text}{p.}{lc7981_8h_a71a77094675e2850e8a4b442fb6a366e}
\end{DoxySeeAlso}
\index{lc7981.c@{lc7981.c}!lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}} \index{lc7981.c@{lc7981.c}!lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}}
\index{lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}!lc7981.c@{lc7981.c}} \index{lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}!lc7981.c@{lc7981.c}}
\subsubsection[{lcd\_\-plot\_\-pixel}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-plot\_\-pixel (uint8\_\-t {\em x}, \/ uint8\_\-t {\em y}, \/ uint8\_\-t {\em set})}\label{lc7981_8c_a735111507ed83172f58d5af2953e31c6} \subsubsection[{lcd\_\-plot\_\-pixel}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-plot\_\-pixel (uint8\_\-t {\em x}, \/ uint8\_\-t {\em y}, \/ uint8\_\-t {\em set})}\label{lc7981_8c_a735111507ed83172f58d5af2953e31c6}

View File

@ -57,7 +57,7 @@
\item \item
void {\bf lcd\_\-init} (uint8\_\-t mode) void {\bf lcd\_\-init} (uint8\_\-t mode)
\begin{DoxyCompactList}\small\item\em lcd\_\-init set the to default values. \item\end{DoxyCompactList}\item \begin{DoxyCompactList}\small\item\em lcd\_\-init set the to default values. \item\end{DoxyCompactList}\item
void {\bf lcd\_\-clear} () void {\bf lcd\_\-clear} (void)
\begin{DoxyCompactList}\small\item\em Clears the display by setting the whole memory to 0. \item\end{DoxyCompactList}\item \begin{DoxyCompactList}\small\item\em Clears the display by setting the whole memory to 0. \item\end{DoxyCompactList}\item
void {\bf lcd\_\-write\_\-text} (char $\ast$txt) void {\bf lcd\_\-write\_\-text} (char $\ast$txt)
\begin{DoxyCompactList}\small\item\em Outputs text in at the current cursor position. \item\end{DoxyCompactList}\item \begin{DoxyCompactList}\small\item\em Outputs text in at the current cursor position. \item\end{DoxyCompactList}\item
@ -72,12 +72,12 @@ void {\bf lcd\_\-plot\_\-char} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, uint8\
void {\bf lcd\_\-plot\_\-text} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, const char $\ast$text, uint8\_\-t fw, uint8\_\-t fh, PGM\_\-P font) void {\bf lcd\_\-plot\_\-text} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, const char $\ast$text, uint8\_\-t fw, uint8\_\-t fh, PGM\_\-P font)
\begin{DoxyCompactList}\small\item\em Plots a text using lcd\_\-plot\_\-char. \item\end{DoxyCompactList}\item \begin{DoxyCompactList}\small\item\em Plots a text using lcd\_\-plot\_\-char. \item\end{DoxyCompactList}\item
void {\bf lcd\_\-plot\_\-pgmtext} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, PGM\_\-P text, uint8\_\-t fw, uint8\_\-t fh, PGM\_\-P font) void {\bf lcd\_\-plot\_\-pgmtext} (uint8\_\-t x\_\-off, uint8\_\-t y\_\-off, PGM\_\-P text, uint8\_\-t fw, uint8\_\-t fh, PGM\_\-P font)
\item \begin{DoxyCompactList}\small\item\em Plots a text using lcd\_\-plot\_\-char. \item\end{DoxyCompactList}\item
static void {\bf lcd\_\-strobe} () static void {\bf lcd\_\-strobe} (void)
\begin{DoxyCompactList}\small\item\em Generates the strobe signal for writing data. \item\end{DoxyCompactList}\item \begin{DoxyCompactList}\small\item\em Generates the strobe signal for writing data. \item\end{DoxyCompactList}\item
static void {\bf lcd\_\-write\_\-command} (uint8\_\-t cmd, uint8\_\-t data) static void {\bf lcd\_\-write\_\-command} (uint8\_\-t cmd, uint8\_\-t data)
\begin{DoxyCompactList}\small\item\em Writes a command and a data byte to the lcd. \item\end{DoxyCompactList}\item \begin{DoxyCompactList}\small\item\em Writes a command and a data byte to the lcd. \item\end{DoxyCompactList}\item
static uint8\_\-t {\bf lcd\_\-read\_\-byte} () static uint8\_\-t {\bf lcd\_\-read\_\-byte} (void)
\begin{DoxyCompactList}\small\item\em Reads a byte from the display memory. \item\end{DoxyCompactList}\end{DoxyCompactItemize} \begin{DoxyCompactList}\small\item\em Reads a byte from the display memory. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
@ -202,7 +202,7 @@ see lcd\_\-plot\_\-pixel
\subsection{Function Documentation} \subsection{Function Documentation}
\index{lc7981.h@{lc7981.h}!lcd\_\-clear@{lcd\_\-clear}} \index{lc7981.h@{lc7981.h}!lcd\_\-clear@{lcd\_\-clear}}
\index{lcd\_\-clear@{lcd\_\-clear}!lc7981.h@{lc7981.h}} \index{lcd\_\-clear@{lcd\_\-clear}!lc7981.h@{lc7981.h}}
\subsubsection[{lcd\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-clear ()}\label{lc7981_8h_a35c08b1fa742e650f4873939707b893b} \subsubsection[{lcd\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-clear (void)}\label{lc7981_8h_ad235a86241458b1e7b8771688bfdaf9a}
Clears the display by setting the whole memory to 0. \index{lc7981.h@{lc7981.h}!lcd\_\-gotoxy@{lcd\_\-gotoxy}} Clears the display by setting the whole memory to 0. \index{lc7981.h@{lc7981.h}!lcd\_\-gotoxy@{lcd\_\-gotoxy}}
@ -239,7 +239,7 @@ This function will plot a bitmap with the upper left corner to the given coordin
\begin{DoxyParams}{Parameters} \begin{DoxyParams}{Parameters}
\item[{\em x\_\-off}]horizontal position of the bitmap \item[{\em y\_\-off}]vertical position of the bitmap \item[{\em bitmap}]pointer to the bitmap in pgmspace \item[{\em w}]width of the bitmap \item[{\em h}]height of the bitmap\end{DoxyParams} \item[{\em x\_\-off}]horizontal position of the bitmap \item[{\em y\_\-off}]vertical position of the bitmap \item[{\em bitmap}]pointer to the bitmap in pgmspace \item[{\em w}]width of the bitmap (we start counting from 0, so a 10px width bitmap will have w = 9) \item[{\em h}]height of the bitmap (we start counting from 0, so a 10px height bitmap will have h = 9)\end{DoxyParams}
This function is dedicated to Greta, one of the most important persons in my life so far.\par This function is dedicated to Greta, one of the most important persons in my life so far.\par
\index{lc7981.h@{lc7981.h}!lcd\_\-plot\_\-char@{lcd\_\-plot\_\-char}} \index{lc7981.h@{lc7981.h}!lcd\_\-plot\_\-char@{lcd\_\-plot\_\-char}}
\index{lcd\_\-plot\_\-char@{lcd\_\-plot\_\-char}!lc7981.h@{lc7981.h}} \index{lcd\_\-plot\_\-char@{lcd\_\-plot\_\-char}!lc7981.h@{lc7981.h}}
@ -260,6 +260,16 @@ Plots a single character in graphicmode. Each character of the font is stored li
\index{lc7981.h@{lc7981.h}!lcd\_\-plot\_\-pgmtext@{lcd\_\-plot\_\-pgmtext}} \index{lc7981.h@{lc7981.h}!lcd\_\-plot\_\-pgmtext@{lcd\_\-plot\_\-pgmtext}}
\index{lcd\_\-plot\_\-pgmtext@{lcd\_\-plot\_\-pgmtext}!lc7981.h@{lc7981.h}} \index{lcd\_\-plot\_\-pgmtext@{lcd\_\-plot\_\-pgmtext}!lc7981.h@{lc7981.h}}
\subsubsection[{lcd\_\-plot\_\-pgmtext}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-plot\_\-pgmtext (uint8\_\-t {\em x\_\-off}, \/ uint8\_\-t {\em y\_\-off}, \/ PGM\_\-P {\em text}, \/ uint8\_\-t {\em fw}, \/ uint8\_\-t {\em fh}, \/ PGM\_\-P {\em font})}\label{lc7981_8h_a0af06316c8d3d3a57b1ddcf949d85a8c} \subsubsection[{lcd\_\-plot\_\-pgmtext}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-plot\_\-pgmtext (uint8\_\-t {\em x\_\-off}, \/ uint8\_\-t {\em y\_\-off}, \/ PGM\_\-P {\em text}, \/ uint8\_\-t {\em fw}, \/ uint8\_\-t {\em fh}, \/ PGM\_\-P {\em font})}\label{lc7981_8h_a0af06316c8d3d3a57b1ddcf949d85a8c}
Plots a text using lcd\_\-plot\_\-char.
\begin{DoxyParams}{Parameters}
\item[{\em x\_\-off}]horizontal position of the character \item[{\em y\_\-off}]vertical position of the character \item[{\em text}]flash area where the text is stored \item[{\em fw}]width of the font \item[{\em fh}]height of the font \item[{\em font}]pointer to the flash area where the font is stored\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\doxyref{lcd\_\-plot\_\-char}{p.}{lc7981_8h_a2615737020b222e49a4d9c8d08a54f43}
\doxyref{lcd\_\-plot\_\-text}{p.}{lc7981_8h_a71a77094675e2850e8a4b442fb6a366e}
\end{DoxySeeAlso}
\index{lc7981.h@{lc7981.h}!lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}} \index{lc7981.h@{lc7981.h}!lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}}
\index{lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}!lc7981.h@{lc7981.h}} \index{lcd\_\-plot\_\-pixel@{lcd\_\-plot\_\-pixel}!lc7981.h@{lc7981.h}}
\subsubsection[{lcd\_\-plot\_\-pixel}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-plot\_\-pixel (uint8\_\-t {\em x}, \/ uint8\_\-t {\em y}, \/ uint8\_\-t {\em set})}\label{lc7981_8h_a735111507ed83172f58d5af2953e31c6} \subsubsection[{lcd\_\-plot\_\-pixel}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-plot\_\-pixel (uint8\_\-t {\em x}, \/ uint8\_\-t {\em y}, \/ uint8\_\-t {\em set})}\label{lc7981_8h_a735111507ed83172f58d5af2953e31c6}
@ -281,7 +291,7 @@ Plots a text using lcd\_\-plot\_\-char.
\end{DoxySeeAlso} \end{DoxySeeAlso}
\index{lc7981.h@{lc7981.h}!lcd\_\-read\_\-byte@{lcd\_\-read\_\-byte}} \index{lc7981.h@{lc7981.h}!lcd\_\-read\_\-byte@{lcd\_\-read\_\-byte}}
\index{lcd\_\-read\_\-byte@{lcd\_\-read\_\-byte}!lc7981.h@{lc7981.h}} \index{lcd\_\-read\_\-byte@{lcd\_\-read\_\-byte}!lc7981.h@{lc7981.h}}
\subsubsection[{lcd\_\-read\_\-byte}]{\setlength{\rightskip}{0pt plus 5cm}static uint8\_\-t lcd\_\-read\_\-byte ()\hspace{0.3cm}{\ttfamily [inline, static]}}\label{lc7981_8h_a0f6a62f494f3cd66aa1f4a910bca71a8} \subsubsection[{lcd\_\-read\_\-byte}]{\setlength{\rightskip}{0pt plus 5cm}static uint8\_\-t lcd\_\-read\_\-byte (void)\hspace{0.3cm}{\ttfamily [inline, static]}}\label{lc7981_8h_a4e0e642817c38e2c73eb6355a45847e0}
Reads a byte from the display memory. lcd\_\-gotoxy can be used to set the location. Important : lcd\_\-gotoxy doesn't work in graphics mode yet. Reads a byte from the display memory. lcd\_\-gotoxy can be used to set the location. Important : lcd\_\-gotoxy doesn't work in graphics mode yet.
@ -294,7 +304,7 @@ the byte which has been read
\end{DoxySeeAlso} \end{DoxySeeAlso}
\index{lc7981.h@{lc7981.h}!lcd\_\-strobe@{lcd\_\-strobe}} \index{lc7981.h@{lc7981.h}!lcd\_\-strobe@{lcd\_\-strobe}}
\index{lcd\_\-strobe@{lcd\_\-strobe}!lc7981.h@{lc7981.h}} \index{lcd\_\-strobe@{lcd\_\-strobe}!lc7981.h@{lc7981.h}}
\subsubsection[{lcd\_\-strobe}]{\setlength{\rightskip}{0pt plus 5cm}static void lcd\_\-strobe ()\hspace{0.3cm}{\ttfamily [inline, static]}}\label{lc7981_8h_a32fdf2306d469b45e2a3bfd020403d76} \subsubsection[{lcd\_\-strobe}]{\setlength{\rightskip}{0pt plus 5cm}static void lcd\_\-strobe (void)\hspace{0.3cm}{\ttfamily [inline, static]}}\label{lc7981_8h_ae6e048011d567dd2859901544ebf7051}
Generates the strobe signal for writing data. This function is meant for internal usage only. \index{lc7981.h@{lc7981.h}!lcd\_\-write\_\-command@{lcd\_\-write\_\-command}} Generates the strobe signal for writing data. This function is meant for internal usage only. \index{lc7981.h@{lc7981.h}!lcd\_\-write\_\-command@{lcd\_\-write\_\-command}}

View File

@ -4,7 +4,6 @@
{\ttfamily \#include $<$stdlib.h$>$}\par {\ttfamily \#include $<$stdlib.h$>$}\par
{\ttfamily \#include \char`\"{}include/lc7981.h\char`\"{}}\par {\ttfamily \#include \char`\"{}include/lc7981.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}include/adc.h\char`\"{}}\par {\ttfamily \#include \char`\"{}include/adc.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}button.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}12x16\_\-horizontal\_\-LSB\_\-1.h\char`\"{}}\par {\ttfamily \#include \char`\"{}12x16\_\-horizontal\_\-LSB\_\-1.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}include/touch.h\char`\"{}}\par {\ttfamily \#include \char`\"{}include/touch.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}writing\_\-demo.h\char`\"{}}\par {\ttfamily \#include \char`\"{}writing\_\-demo.h\char`\"{}}\par

View File

@ -23,7 +23,7 @@
\vspace*{1cm} \vspace*{1cm}
{\large Generated by Doxygen 1.6.1}\\ {\large Generated by Doxygen 1.6.1}\\
\vspace*{0.5cm} \vspace*{0.5cm}
{\small Fri Dec 18 12:56:27 2009}\\ {\small Mon Apr 12 15:50:48 2010}\\
\end{center} \end{center}
\end{titlepage} \end{titlepage}
\clearemptydoublepage \clearemptydoublepage

View File

@ -15,7 +15,7 @@ int16\_\-t {\bf touch\_\-readY} ()
\subsection{Function Documentation} \subsection{Function Documentation}
\index{touch.c@{touch.c}!touch\_\-is\_\-pressed@{touch\_\-is\_\-pressed}} \index{touch.c@{touch.c}!touch\_\-is\_\-pressed@{touch\_\-is\_\-pressed}}
\index{touch\_\-is\_\-pressed@{touch\_\-is\_\-pressed}!touch.c@{touch.c}} \index{touch\_\-is\_\-pressed@{touch\_\-is\_\-pressed}!touch.c@{touch.c}}
\subsubsection[{touch\_\-is\_\-pressed}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t touch\_\-is\_\-pressed ()}\label{touch_8c_a215947ded979abf11d490536508ecafc} \subsubsection[{touch\_\-is\_\-pressed}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t touch\_\-is\_\-pressed (void)}\label{touch_8c_a215947ded979abf11d490536508ecafc}
This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC. If the ADC-\/Value is less then TOUCH\_\-PRESSED\_\-LEVEL, the function will return 1. \begin{DoxyReturn}{Returns} This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC. If the ADC-\/Value is less then TOUCH\_\-PRESSED\_\-LEVEL, the function will return 1. \begin{DoxyReturn}{Returns}
@ -23,7 +23,7 @@ This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the
\end{DoxyReturn} \end{DoxyReturn}
\index{touch.c@{touch.c}!touch\_\-readX@{touch\_\-readX}} \index{touch.c@{touch.c}!touch\_\-readX@{touch\_\-readX}}
\index{touch\_\-readX@{touch\_\-readX}!touch.c@{touch.c}} \index{touch\_\-readX@{touch\_\-readX}!touch.c@{touch.c}}
\subsubsection[{touch\_\-readX}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readX ()}\label{touch_8c_adbea78d45cc89e43f7510ebf6eb01ac0} \subsubsection[{touch\_\-readX}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readX (void)}\label{touch_8c_adbea78d45cc89e43f7510ebf6eb01ac0}
\index{touch.c@{touch.c}!touch\_\-readY@{touch\_\-readY}} \index{touch.c@{touch.c}!touch\_\-readY@{touch\_\-readY}}
\index{touch\_\-readY@{touch\_\-readY}!touch.c@{touch.c}} \index{touch\_\-readY@{touch\_\-readY}!touch.c@{touch.c}}
\subsubsection[{touch\_\-readY}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readY ()}\label{touch_8c_acdce8a6997f2d00dbfcb61be2e67e886} \subsubsection[{touch\_\-readY}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readY (void)}\label{touch_8c_acdce8a6997f2d00dbfcb61be2e67e886}

View File

@ -25,11 +25,11 @@
\subsection*{Functions} \subsection*{Functions}
\begin{DoxyCompactItemize} \begin{DoxyCompactItemize}
\item \item
uint8\_\-t {\bf touch\_\-is\_\-pressed} () uint8\_\-t {\bf touch\_\-is\_\-pressed} (void)
\begin{DoxyCompactList}\small\item\em This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC. \item\end{DoxyCompactList}\item \begin{DoxyCompactList}\small\item\em This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC. \item\end{DoxyCompactList}\item
int16\_\-t {\bf touch\_\-readX} () int16\_\-t {\bf touch\_\-readX} (void)
\item \item
int16\_\-t {\bf touch\_\-readY} () int16\_\-t {\bf touch\_\-readY} (void)
\end{DoxyCompactItemize} \end{DoxyCompactItemize}
@ -68,7 +68,7 @@ int16\_\-t {\bf touch\_\-readY} ()
\subsection{Function Documentation} \subsection{Function Documentation}
\index{touch.h@{touch.h}!touch\_\-is\_\-pressed@{touch\_\-is\_\-pressed}} \index{touch.h@{touch.h}!touch\_\-is\_\-pressed@{touch\_\-is\_\-pressed}}
\index{touch\_\-is\_\-pressed@{touch\_\-is\_\-pressed}!touch.h@{touch.h}} \index{touch\_\-is\_\-pressed@{touch\_\-is\_\-pressed}!touch.h@{touch.h}}
\subsubsection[{touch\_\-is\_\-pressed}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t touch\_\-is\_\-pressed ()}\label{touch_8h_a215947ded979abf11d490536508ecafc} \subsubsection[{touch\_\-is\_\-pressed}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t touch\_\-is\_\-pressed (void)}\label{touch_8h_ad9d13a515a5fa467bbdcdd9d28ba472a}
This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC. If the ADC-\/Value is less then TOUCH\_\-PRESSED\_\-LEVEL, the function will return 1. \begin{DoxyReturn}{Returns} This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the ADC. If the ADC-\/Value is less then TOUCH\_\-PRESSED\_\-LEVEL, the function will return 1. \begin{DoxyReturn}{Returns}
@ -76,7 +76,7 @@ This functions set 5V to X1 and GND to Y1, the voltage at X2 is measured via the
\end{DoxyReturn} \end{DoxyReturn}
\index{touch.h@{touch.h}!touch\_\-readX@{touch\_\-readX}} \index{touch.h@{touch.h}!touch\_\-readX@{touch\_\-readX}}
\index{touch\_\-readX@{touch\_\-readX}!touch.h@{touch.h}} \index{touch\_\-readX@{touch\_\-readX}!touch.h@{touch.h}}
\subsubsection[{touch\_\-readX}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readX ()}\label{touch_8h_adbea78d45cc89e43f7510ebf6eb01ac0} \subsubsection[{touch\_\-readX}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readX (void)}\label{touch_8h_ab428dce50579a72fb239cacb3d2a2bc8}
\index{touch.h@{touch.h}!touch\_\-readY@{touch\_\-readY}} \index{touch.h@{touch.h}!touch\_\-readY@{touch\_\-readY}}
\index{touch\_\-readY@{touch\_\-readY}!touch.h@{touch.h}} \index{touch\_\-readY@{touch\_\-readY}!touch.h@{touch.h}}
\subsubsection[{touch\_\-readY}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readY ()}\label{touch_8h_acdce8a6997f2d00dbfcb61be2e67e886} \subsubsection[{touch\_\-readY}]{\setlength{\rightskip}{0pt plus 5cm}int16\_\-t touch\_\-readY (void)}\label{touch_8h_adcb34e31728672eaebd034b5376f2752}

View File

@ -5,13 +5,13 @@
\begin{DoxyCompactItemize} \begin{DoxyCompactItemize}
\item \item
void {\bf writing\_\-demo} () void {\bf writing\_\-demo} ()
\begin{DoxyCompactList}\small\item\em particel\_\-demo.c \item\end{DoxyCompactList}\end{DoxyCompactItemize} \begin{DoxyCompactList}\small\item\em \doxyref{writing\_\-demo.c}{p.}{writing__demo_8c} \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection{Function Documentation} \subsection{Function Documentation}
\index{writing\_\-demo.c@{writing\_\-demo.c}!writing\_\-demo@{writing\_\-demo}} \index{writing\_\-demo.c@{writing\_\-demo.c}!writing\_\-demo@{writing\_\-demo}}
\index{writing\_\-demo@{writing\_\-demo}!writing_demo.c@{writing\_\-demo.c}} \index{writing\_\-demo@{writing\_\-demo}!writing_demo.c@{writing\_\-demo.c}}
\subsubsection[{writing\_\-demo}]{\setlength{\rightskip}{0pt plus 5cm}void writing\_\-demo ()}\label{writing__demo_8c_abdd925f1d9c8a09b9950c059c51e02d1} \subsubsection[{writing\_\-demo}]{\setlength{\rightskip}{0pt plus 5cm}void writing\_\-demo (void)}\label{writing__demo_8c_abdd925f1d9c8a09b9950c059c51e02d1}
particel\_\-demo.c Created on: 29.05.2009 Author: sebastian \doxyref{writing\_\-demo.c}{p.}{writing__demo_8c} Created on: 29.05.2009 Author: sebastian

View File

@ -8,12 +8,12 @@
\begin{DoxyCompactItemize} \begin{DoxyCompactItemize}
\item \item
\#define {\bf WIRTING\_\-DEMO\_\-H\_\-}~WIRTING\_\-DEMO\_\-H\_\- \#define {\bf WIRTING\_\-DEMO\_\-H\_\-}~WIRTING\_\-DEMO\_\-H\_\-
\begin{DoxyCompactList}\small\item\em particel\_\-demo.h \item\end{DoxyCompactList}\end{DoxyCompactItemize} \begin{DoxyCompactList}\small\item\em \doxyref{writing\_\-demo.h}{p.}{writing__demo_8h} \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions} \subsection*{Functions}
\begin{DoxyCompactItemize} \begin{DoxyCompactItemize}
\item \item
void {\bf writing\_\-demo} () void {\bf writing\_\-demo} (void)
\begin{DoxyCompactList}\small\item\em particel\_\-demo.c \item\end{DoxyCompactList}\end{DoxyCompactItemize} \begin{DoxyCompactList}\small\item\em \doxyref{writing\_\-demo.c}{p.}{writing__demo_8c} \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection{Define Documentation} \subsection{Define Documentation}
@ -22,12 +22,12 @@ void {\bf writing\_\-demo} ()
\subsubsection[{WIRTING\_\-DEMO\_\-H\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define WIRTING\_\-DEMO\_\-H\_\-~WIRTING\_\-DEMO\_\-H\_\-}\label{writing__demo_8h_a69a65c026c8b8e97c7b6f99de76ab00d} \subsubsection[{WIRTING\_\-DEMO\_\-H\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define WIRTING\_\-DEMO\_\-H\_\-~WIRTING\_\-DEMO\_\-H\_\-}\label{writing__demo_8h_a69a65c026c8b8e97c7b6f99de76ab00d}
particel\_\-demo.h Created on: 29.05.2009 Author: sebastian \doxyref{writing\_\-demo.h}{p.}{writing__demo_8h} Created on: 29.05.2009 Author: sebastian
\subsection{Function Documentation} \subsection{Function Documentation}
\index{writing\_\-demo.h@{writing\_\-demo.h}!writing\_\-demo@{writing\_\-demo}} \index{writing\_\-demo.h@{writing\_\-demo.h}!writing\_\-demo@{writing\_\-demo}}
\index{writing\_\-demo@{writing\_\-demo}!writing_demo.h@{writing\_\-demo.h}} \index{writing\_\-demo@{writing\_\-demo}!writing_demo.h@{writing\_\-demo.h}}
\subsubsection[{writing\_\-demo}]{\setlength{\rightskip}{0pt plus 5cm}void writing\_\-demo ()}\label{writing__demo_8h_abdd925f1d9c8a09b9950c059c51e02d1} \subsubsection[{writing\_\-demo}]{\setlength{\rightskip}{0pt plus 5cm}void writing\_\-demo (void)}\label{writing__demo_8h_aefd6917e099be82568bcbb02444ce0f2}
particel\_\-demo.c Created on: 29.05.2009 Author: sebastian \doxyref{writing\_\-demo.c}{p.}{writing__demo_8c} Created on: 29.05.2009 Author: sebastian

View File

@ -1,23 +1,27 @@
/* /*
* lc7981.c * lc7981.c
* *
* Created on: 01.05.2009 * Version 0.6 beta
* Author: sebastian
* *
* This file is part of Sebastians AVR Library for lc7981. * The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
* *
* Sebastians AVR Library is free software: you can redistribute it and/or modify * Software distributed under the License is distributed on an "AS IS"
* it under the terms of the GNU General Public License as published by * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* the Free Software Foundation, either version 3 of the License, or * License for the specific language governing rights and limitations
* (at your option) any later version. * under the License.
* *
* Sebastians AVR Library is distributed in the hope that it will be useful, * The Original Code is Sebastians AVR Library for lc7981.
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * The Initial Developer of the Original Code is Sebastian Schumb (webmaster@sebastians-site.de).
* GNU General Public License for more details. *
* Contributor(s): None so far.
*
* Any version below 0.6 is still licensed under GPL.
* The GPLed versions will neither be supported, nor developed any further.
* *
* You should have received a copy of the GNU General Public License
* along with Sebastians AVR Library. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
@ -226,8 +230,8 @@ uint8_t xr;
* @param x_off horizontal position of the bitmap * @param x_off horizontal position of the bitmap
* @param y_off vertical position of the bitmap * @param y_off vertical position of the bitmap
* @param bitmap pointer to the bitmap in pgmspace * @param bitmap pointer to the bitmap in pgmspace
* @param w width of the bitmap * @param w width of the bitmap (we start counting from 0, so a 10px width bitmap will have w = 9)
* @param h height of the bitmap * @param h height of the bitmap (we start counting from 0, so a 10px height bitmap will have h = 9)
* *
* This function is dedicated to Greta, one of the most important persons in my life so far.\n * This function is dedicated to Greta, one of the most important persons in my life so far.\n
* *
@ -337,6 +341,20 @@ while(*text) {
} }
/**
* Plots a text using lcd_plot_char.
* @param x_off horizontal position of the character
* @param y_off vertical position of the character
* @param text flash area where the text is stored
* @param fw width of the font
* @param fh height of the font
* @param font pointer to the flash area where the font is stored
*
*
*
* @see lcd_plot_char
* @see lcd_plot_text
*/
void lcd_plot_pgmtext(uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font) { void lcd_plot_pgmtext(uint8_t x_off, uint8_t y_off, PGM_P text, uint8_t fw, uint8_t fh, PGM_P font) {
uint8_t c; uint8_t c;

View File

@ -4,21 +4,26 @@
* Created on: 01.05.2009 * Created on: 01.05.2009
* Author: sebastian * Author: sebastian
* *
* This file is part of Sebastians AVR Library for lc7981. * Version 0.6 beta
* *
* Sebastians AVR Library for lc789 is free software: you can redistribute it and/or modify * The contents of this file are subject to the Mozilla Public License
* it under the terms of the GNU General Public License as published by * Version 1.1 (the "License"); you may not use this file except in
* the Free Software Foundation, either version 3 of the License, or * compliance with the License. You may obtain a copy of the License at
* (at your option) any later version. * http://www.mozilla.org/MPL/
* *
* Sebastians AVR Library is distributed in the hope that it will be useful, * Software distributed under the License is distributed on an "AS IS"
* but WITHOUT ANY WARRANTY; without even the implied warranty of * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * License for the specific language governing rights and limitations
* GNU General Public License for more details. * under the License.
* *
* You should have received a copy of the GNU General Public License * The Original Code is Sebastians AVR Library for lc7981.
* along with Sebastians AVR Library. If not, see <http://www.gnu.org/licenses/>.
* *
* The Initial Developer of the Original Code is Sebastian Schumb (webmaster@sebastians-site.de).
*
* Contributor(s): None so far.
*
* Any version below 0.6 is still licensed under GPL.
* The GPLed versions will neither be supported, nor developed any further.
* *
* 'Do the thing you want to do and let your spirits guide you through. * 'Do the thing you want to do and let your spirits guide you through.
* Live a life, worth being remembered.' * Live a life, worth being remembered.'
@ -26,8 +31,6 @@
*/ */
#ifndef LC7981_H_ #ifndef LC7981_H_
#define LC7981_H_ LC7981_H_ //!< protects this file from beeing double included #define LC7981_H_ LC7981_H_ //!< protects this file from beeing double included