Rev 1793 | Rev 1796 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1793 | Rev 1794 | ||
|---|---|---|---|
| Line 23... | Line 23... | ||
| 23 | // |
23 | // |
| 24 | // This code is distributed under the GNU Public License |
24 | // This code is distributed under the GNU Public License |
| 25 | // which can be found at http://www.gnu.org/licenses/gpl.txt |
25 | // which can be found at http://www.gnu.org/licenses/gpl.txt |
| 26 | // |
26 | // |
| 27 | //***************************************************************************** |
27 | //***************************************************************************** |
| 28 | #ifndef |
28 | #ifndef GRAPHICS_WIDTH |
| 29 | #error |
29 | #error GRAPHICS_WIDTH, GRAPHICS_HEIGHT must be defined |
| 30 | #endif |
30 | #endif |
| 31 | 31 | ||
| 32 | #define OUTPUT 0 |
32 | #define OUTPUT 0 |
| 33 | #define INPUT 1 |
33 | #define INPUT 1 |
| 34 | 34 | ||
| Line 187... | Line 187... | ||
| 187 | dotmatrixDelay(); |
187 | dotmatrixDelay(); |
| 188 | dotmatrixSetControls(1,0); |
188 | dotmatrixSetControls(1,0); |
| 189 | dotmatrixSetDirection(OUTPUT); |
189 | dotmatrixSetDirection(OUTPUT); |
| 190 | dotmatrixSetXY(GrLcdState.lcdXAddr, GrLcdState.lcdYAddr);*/ |
190 | dotmatrixSetXY(GrLcdState.lcdXAddr, GrLcdState.lcdYAddr);*/ |
| 191 | return data; |
191 | return data; |
| - | 192 | } |
|
| - | 193 | ||
| - | 194 | void dotmatrixRefresh() |
|
| - | 195 | { |
|
| - | 196 | ||
| 192 | } |
197 | } |
| 193 | 198 | ||
| 194 | void dotmatrixInit(){ |
199 | void dotmatrixInit(){ |
| 195 | /* gpio_set_out(LCD_CONTROL_RS); |
200 | /* gpio_set_out(LCD_CONTROL_RS); |
| 196 | gpio_set_out(LCD_CONTROL_RW); |
201 | gpio_set_out(LCD_CONTROL_RW); |