This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| fr:examples:digi:lcd [2009/03/25 23:16] – sdeniaud | fr:examples:digi:lcd [2020/07/20 12:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Afficheur LCD ====== | ||
| + | {{: | ||
| + | |||
| + | L' | ||
| + | Le LCD peut être en mode contrôleur 4 bits ou // | ||
| + | |||
| + | {{: | ||
| + | |||
| + | L' | ||
| + | |||
| + | ===== Fichiers d' | ||
| + | |||
| + | * {{: | ||
| + | * {{: | ||
| + | |||
| + | ===== Exemple ===== | ||
| + | |||
| + | <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(" | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Liens externes ===== | ||
| + | [[http:// | ||
| + | |||
| + | [[http:// | ||