This is an old revision of the document!


Table of Contents

LCD display

Header files

Example

#include <stdlib.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
 
#include "lcd.h"
 
/*PS for distance Lab use:
#include <util/lcd.h>
#include <util/lcd.c>
*/
 
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");
}
en/examples/digi/lcd.1237887947.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