Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
et:examples:digi:lcd [2009/03/08 13:12] raivo.sellet:examples:digi:lcd [2009/11/04 13:16] (current) – eemaldatud mikk.leini
Line 1: Line 1:
-====== LCD ekraani kasutamine ====== 
-{{:examples:study_lcd_cpu.jpg?500|}} 
-===== Failid ===== 
- 
-  * {{:et:naited:digi:lcd:lcd.c}} 
-  * {{:et:naited:digi:lcd:lcd.h|}} 
- 
-===== Näide ===== 
- 
-<code c> 
-#include <stdlib.h> 
-#include <avr/io.h> 
-#include <avr/pgmspace.h> 
-#include "lcd.h" 
- 
-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("LCD Test Line 1\n"); 
-} 
-</code> 
  
et/examples/digi/lcd.1236517979.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0