This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:examples:digi:lcd [2009/03/24 09:45] – raivo.sell | en:examples:digi:lcd [2010/02/04 12:28] (current) – removed mikk.leini | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== LCD display ====== | ||
| - | {{: | ||
| - | ===== Header files ===== | ||
| - | |||
| - | * {{: | ||
| - | * {{: | ||
| - | |||
| - | ===== Example===== | ||
| - | |||
| - | <code c> | ||
| - | #include < | ||
| - | #include < | ||
| - | #include < | ||
| - | |||
| - | #include " | ||
| - | |||
| - | /*PS for distance Lab use: | ||
| - | #include < | ||
| - | #include < | ||
| - | */ | ||
| - | |||
| - | int main(void) | ||
| - | { | ||
| - | // Initialize display, cursor off | ||
| - | lcd_init(LCD_DISP_ON); | ||
| - | |||
| - | // Clear display and home cursor | ||
| - | lcd_clrscr(); | ||
| - | | ||
| - | // Put string to display (line 1) with linefeed | ||
| - | lcd_puts(" | ||
| - | } | ||
| - | </ | ||