LCD

Functions for the LCD Functions for writing to the LCD. All functions may be found in lcd.h. More...

Functions

void lcd_init (void)
 Initialize the LCD screen.
void lcd_clear_screen (void)
 Clear the LCD screen.
void lcd_putc (char c)
 Print a char to the LCD screen.
void lcd_puts (char *s)
 Print a string to the LCD screen.
void lcd_gotoxy (int x, int y)
 Set the current cursor position.
void lcd_puti (int value)
 Print an int to the LCD screen.

Detailed Description

Functions for the LCD Functions for writing to the LCD. All functions may be found in lcd.h.


Function Documentation

void lcd_clear_screen ( void   ) 

Clear the LCD screen.

Clears the LCD screen. lcd_init must be called first.

See also:
lcd_init

References lcd_gotoxy().

Referenced by lcd_init().

void lcd_gotoxy ( int  x,
int  y 
)

Set the current cursor position.

Move the current cursor position to the one specified. lcd_init must be called before this function may be used.

Parameters:
x The x coordinate of the new position
y The y coordinate of the new position
See also:
lcd_init

Referenced by lcd_clear_screen().

void lcd_init ( void   ) 

Initialize the LCD screen.

Initializes the LCD. Must be called before any other LCD functions.

References delay_ms(), and lcd_clear_screen().

Referenced by dragonfly_init().

void lcd_putc ( char  c  ) 

Print a char to the LCD screen.

Prints a character on the LCD screen. lcd_init must be called before this function may be used.

Parameters:
c the character to print
See also:
lcd_init

Referenced by lcd_puti(), and lcd_puts().

void lcd_puti ( int  value  ) 

Print an int to the LCD screen.

Print an integer to the LCD screen. lcd_init must be called before this function may be used.

Parameters:
value the integer to print
See also:
lcd_init

References lcd_putc().


Generated on Fri Sep 26 13:39:28 2008 for libdragonfly by  doxygen 1.5.5