root / trunk / docs / libdragonfly / group__lcd.html @ 1416
History | View | Annotate | Download (9.87 KB)
1 | 41 | bcoltin | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
---|---|---|---|
2 | 241 | bcoltin | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
3 | 41 | bcoltin | <title>libdragonfly: LCD</title> |
4 | 1398 | cmar | <link href="tabs.css" rel="stylesheet" type="text/css"> |
5 | 41 | bcoltin | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
6 | </head><body> |
||
7 | 1398 | cmar | <!-- Generated by Doxygen 1.5.9 -->
|
8 | 1145 | deffi | <div class="navigation" id="top"> |
9 | <div class="tabs"> |
||
10 | <ul>
|
||
11 | <li><a href="index.html"><span>Main Page</span></a></li> |
||
12 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
||
13 | <li><a href="modules.html"><span>Modules</span></a></li> |
||
14 | <li><a href="annotated.html"><span>Data Structures</span></a></li> |
||
15 | <li><a href="files.html"><span>Files</span></a></li> |
||
16 | </ul>
|
||
17 | </div>
|
||
18 | 241 | bcoltin | </div>
|
19 | 1145 | deffi | <div class="contents"> |
20 | 241 | bcoltin | <h1>LCD</h1>Functions for the LCD Functions for writing to the LCD. All functions may be found in <a class="el" href="lcd_8h.html" title="Contains definitions for dealing with the LCD screen.">lcd.h</a>. |
21 | 1398 | cmar | <a href="#_details">More...</a> |
22 | <p>
|
||
23 | <table border="0" cellpadding="0" cellspacing="0"> |
||
24 | 41 | bcoltin | <tr><td></td></tr> |
25 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
||
26 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lcd.html#g6842775ba83d166f02b8fef8bb63b1e6">lcd_init</a> (void)</td></tr> |
||
27 | |||
28 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the LCD screen. <a href="#g6842775ba83d166f02b8fef8bb63b1e6"></a><br></td></tr> |
||
29 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lcd.html#ge4dc23fdf26f3b8b0db253f431fe950d">lcd_clear_screen</a> (void)</td></tr> |
||
30 | |||
31 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Clear the LCD screen. <a href="#ge4dc23fdf26f3b8b0db253f431fe950d"></a><br></td></tr> |
||
32 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lcd.html#gfa7e36b95c43d603f510273ad077cbbe">lcd_putc</a> (char c)</td></tr> |
||
33 | |||
34 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Print a char to the LCD screen. <a href="#gfa7e36b95c43d603f510273ad077cbbe"></a><br></td></tr> |
||
35 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g58a42336a344165c54e8dd4a0d3f0e1c"></a><!-- doxytag: member="lcd::lcd_puts" ref="g58a42336a344165c54e8dd4a0d3f0e1c" args="(char *s)" --> |
||
36 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lcd.html#g58a42336a344165c54e8dd4a0d3f0e1c">lcd_puts</a> (char *s)</td></tr> |
||
37 | |||
38 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Print a string to the LCD screen. <br></td></tr> |
||
39 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lcd.html#gac280d714190003871937d3d92af3a29">lcd_gotoxy</a> (int x, int y)</td></tr> |
||
40 | |||
41 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the current cursor position. <a href="#gac280d714190003871937d3d92af3a29"></a><br></td></tr> |
||
42 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__lcd.html#g0150085af3123e80303a3445821acb40">lcd_puti</a> (int value)</td></tr> |
||
43 | |||
44 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Print an int to the LCD screen. <a href="#g0150085af3123e80303a3445821acb40"></a><br></td></tr> |
||
45 | </table>
|
||
46 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
||
47 | 1398 | cmar | Functions for the LCD Functions for writing to the LCD. All functions may be found in <a class="el" href="lcd_8h.html" title="Contains definitions for dealing with the LCD screen.">lcd.h</a>. <hr><h2>Function Documentation</h2> |
48 | 241 | bcoltin | <a class="anchor" name="ge4dc23fdf26f3b8b0db253f431fe950d"></a><!-- doxytag: member="lcd.c::lcd_clear_screen" ref="ge4dc23fdf26f3b8b0db253f431fe950d" args="(void)" --> |
49 | <div class="memitem"> |
||
50 | <div class="memproto"> |
||
51 | <table class="memname"> |
||
52 | 41 | bcoltin | <tr>
|
53 | 241 | bcoltin | <td class="memname">void lcd_clear_screen </td> |
54 | <td>(</td> |
||
55 | <td class="paramtype">void </td> |
||
56 | <td class="paramname"> </td> |
||
57 | <td> ) </td> |
||
58 | 1398 | cmar | <td></td> |
59 | 41 | bcoltin | </tr>
|
60 | </table>
|
||
61 | 241 | bcoltin | </div>
|
62 | <div class="memdoc"> |
||
63 | 41 | bcoltin | |
64 | <p>
|
||
65 | Clear the LCD screen. |
||
66 | <p>
|
||
67 | Clears the LCD screen. lcd_init must be called first.<p>
|
||
68 | 241 | bcoltin | <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__lcd.html#g6842775ba83d166f02b8fef8bb63b1e6" title="Initialize the LCD screen.">lcd_init</a> </dd></dl> |
69 | |||
70 | 1398 | cmar | <p>References <a class="el" href="lcd_8c_source.html#l00260">lcd_gotoxy()</a>.</p> |
71 | 1145 | deffi | |
72 | 1398 | cmar | <p>Referenced by <a class="el" href="lcd_8c_source.html#l00173">lcd_init()</a>.</p> |
73 | 1145 | deffi | |
74 | 241 | bcoltin | </div>
|
75 | </div><p> |
||
76 | <a class="anchor" name="gac280d714190003871937d3d92af3a29"></a><!-- doxytag: member="lcd.c::lcd_gotoxy" ref="gac280d714190003871937d3d92af3a29" args="(int x, int y)" --> |
||
77 | <div class="memitem"> |
||
78 | <div class="memproto"> |
||
79 | <table class="memname"> |
||
80 | 41 | bcoltin | <tr>
|
81 | 241 | bcoltin | <td class="memname">void lcd_gotoxy </td> |
82 | <td>(</td> |
||
83 | <td class="paramtype">int </td> |
||
84 | <td class="paramname"> <em>x</em>, </td> |
||
85 | 41 | bcoltin | </tr>
|
86 | <tr>
|
||
87 | 241 | bcoltin | <td class="paramkey"></td> |
88 | <td></td> |
||
89 | <td class="paramtype">int </td> |
||
90 | <td class="paramname"> <em>y</em></td><td> </td> |
||
91 | 41 | bcoltin | </tr>
|
92 | <tr>
|
||
93 | 241 | bcoltin | <td></td> |
94 | <td>)</td> |
||
95 | 1398 | cmar | <td></td><td></td><td></td> |
96 | 41 | bcoltin | </tr>
|
97 | </table>
|
||
98 | 241 | bcoltin | </div>
|
99 | <div class="memdoc"> |
||
100 | 41 | bcoltin | |
101 | <p>
|
||
102 | Set the current cursor position. |
||
103 | <p>
|
||
104 | Move the current cursor position to the one specified. lcd_init must be called before this function may be used.<p>
|
||
105 | <dl compact><dt><b>Parameters:</b></dt><dd> |
||
106 | <table border="0" cellspacing="2" cellpadding="0"> |
||
107 | <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The x coordinate of the new position </td></tr> |
||
108 | <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The y coordinate of the new position</td></tr> |
||
109 | </table>
|
||
110 | </dl>
|
||
111 | 241 | bcoltin | <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__lcd.html#g6842775ba83d166f02b8fef8bb63b1e6" title="Initialize the LCD screen.">lcd_init</a> </dd></dl> |
112 | |||
113 | 1398 | cmar | <p>Referenced by <a class="el" href="lcd_8c_source.html#l00206">lcd_clear_screen()</a>.</p> |
114 | 1145 | deffi | |
115 | 241 | bcoltin | </div>
|
116 | </div><p> |
||
117 | <a class="anchor" name="g6842775ba83d166f02b8fef8bb63b1e6"></a><!-- doxytag: member="lcd.c::lcd_init" ref="g6842775ba83d166f02b8fef8bb63b1e6" args="(void)" --> |
||
118 | <div class="memitem"> |
||
119 | <div class="memproto"> |
||
120 | <table class="memname"> |
||
121 | 41 | bcoltin | <tr>
|
122 | 241 | bcoltin | <td class="memname">void lcd_init </td> |
123 | <td>(</td> |
||
124 | <td class="paramtype">void </td> |
||
125 | <td class="paramname"> </td> |
||
126 | <td> ) </td> |
||
127 | 1398 | cmar | <td></td> |
128 | 41 | bcoltin | </tr>
|
129 | </table>
|
||
130 | 241 | bcoltin | </div>
|
131 | <div class="memdoc"> |
||
132 | 41 | bcoltin | |
133 | <p>
|
||
134 | Initialize the LCD screen. |
||
135 | <p>
|
||
136 | 241 | bcoltin | Initializes the LCD. Must be called before any other LCD functions. |
137 | 1398 | cmar | <p>References <a class="el" href="time_8c_source.html#l00104">delay_ms()</a>, and <a class="el" href="lcd_8c_source.html#l00206">lcd_clear_screen()</a>.</p> |
138 | 1145 | deffi | |
139 | 1398 | cmar | <p>Referenced by <a class="el" href="dragonfly__lib_8c_source.html#l00068">dragonfly_init()</a>.</p> |
140 | 1145 | deffi | |
141 | 241 | bcoltin | </div>
|
142 | </div><p> |
||
143 | <a class="anchor" name="gfa7e36b95c43d603f510273ad077cbbe"></a><!-- doxytag: member="lcd.c::lcd_putc" ref="gfa7e36b95c43d603f510273ad077cbbe" args="(char c)" --> |
||
144 | <div class="memitem"> |
||
145 | <div class="memproto"> |
||
146 | <table class="memname"> |
||
147 | 41 | bcoltin | <tr>
|
148 | 241 | bcoltin | <td class="memname">void lcd_putc </td> |
149 | <td>(</td> |
||
150 | <td class="paramtype">char </td> |
||
151 | <td class="paramname"> <em>c</em> </td> |
||
152 | <td> ) </td> |
||
153 | 1398 | cmar | <td></td> |
154 | 41 | bcoltin | </tr>
|
155 | </table>
|
||
156 | 241 | bcoltin | </div>
|
157 | <div class="memdoc"> |
||
158 | 41 | bcoltin | |
159 | <p>
|
||
160 | Print a char to the LCD screen. |
||
161 | <p>
|
||
162 | Prints a character on the LCD screen. lcd_init must be called before this function may be used.<p>
|
||
163 | <dl compact><dt><b>Parameters:</b></dt><dd> |
||
164 | <table border="0" cellspacing="2" cellpadding="0"> |
||
165 | <tr><td valign="top"></td><td valign="top"><em>c</em> </td><td>the character to print</td></tr> |
||
166 | </table>
|
||
167 | </dl>
|
||
168 | 241 | bcoltin | <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__lcd.html#g6842775ba83d166f02b8fef8bb63b1e6" title="Initialize the LCD screen.">lcd_init</a> </dd></dl> |
169 | |||
170 | 1398 | cmar | <p>Referenced by <a class="el" href="lcd_8c_source.html#l00281">lcd_puti()</a>, and <a class="el" href="lcd_8c_source.html#l00233">lcd_puts()</a>.</p> |
171 | 1145 | deffi | |
172 | 241 | bcoltin | </div>
|
173 | </div><p> |
||
174 | <a class="anchor" name="g0150085af3123e80303a3445821acb40"></a><!-- doxytag: member="lcd.c::lcd_puti" ref="g0150085af3123e80303a3445821acb40" args="(int value)" --> |
||
175 | <div class="memitem"> |
||
176 | <div class="memproto"> |
||
177 | <table class="memname"> |
||
178 | 41 | bcoltin | <tr>
|
179 | 241 | bcoltin | <td class="memname">void lcd_puti </td> |
180 | <td>(</td> |
||
181 | <td class="paramtype">int </td> |
||
182 | <td class="paramname"> <em>value</em> </td> |
||
183 | <td> ) </td> |
||
184 | 1398 | cmar | <td></td> |
185 | 41 | bcoltin | </tr>
|
186 | </table>
|
||
187 | 241 | bcoltin | </div>
|
188 | <div class="memdoc"> |
||
189 | 41 | bcoltin | |
190 | <p>
|
||
191 | Print an int to the LCD screen. |
||
192 | <p>
|
||
193 | Print an integer to the LCD screen. lcd_init must be called before this function may be used.<p>
|
||
194 | <dl compact><dt><b>Parameters:</b></dt><dd> |
||
195 | <table border="0" cellspacing="2" cellpadding="0"> |
||
196 | <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>the integer to print</td></tr> |
||
197 | </table>
|
||
198 | </dl>
|
||
199 | 241 | bcoltin | <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__lcd.html#g6842775ba83d166f02b8fef8bb63b1e6" title="Initialize the LCD screen.">lcd_init</a> </dd></dl> |
200 | |||
201 | 1398 | cmar | <p>References <a class="el" href="lcd_8c_source.html#l00222">lcd_putc()</a>.</p> |
202 | 1145 | deffi | |
203 | 241 | bcoltin | </div>
|
204 | </div><p> |
||
205 | 1145 | deffi | </div>
|
206 | 1398 | cmar | <hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 7 19:07:28 2009 for libdragonfly by |
207 | 41 | bcoltin | <a href="http://www.doxygen.org/index.html"> |
208 | 1398 | cmar | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
209 | 41 | bcoltin | </body>
|
210 | </html> |