This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| et:examples:digi:lcd [2009/03/08 13:12] – raivo.sell | et:examples:digi:lcd [2009/11/04 13:16] (current) – eemaldatud mikk.leini | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== LCD ekraani kasutamine ====== | ||
| - | {{: | ||
| - | ===== Failid ===== | ||
| - | |||
| - | * {{: | ||
| - | * {{: | ||
| - | |||
| - | ===== Näide ===== | ||
| - | |||
| - | <code c> | ||
| - | #include < | ||
| - | #include < | ||
| - | #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(" | ||
| - | } | ||
| - | </ | ||