This is an old revision of the document!


LCD teek

LCD kasutamiseks tõmba alla järgnevad failid ja lisa need oma projekti.

Teegi kasutamise näide

#include <avr/io.h>
#include "lcd.h"
 
int main(void)
{	
	// Init display
	lcd_init(LCD_DISP_ON);	
 
	// Go-to first row and to third character
	lcd_gotoxy(2, 0);	
 
	// Output text
	lcd_puts("Hello!");
 
	// Clear screen
	lcd_clrscr();
}

Projekti lisa ka “lcd.c” fail.

et/software/libraries/lcd.1250542945.txt.gz · Last modified: (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