aversive_10-03-12/modules/devices/ihm/lcd/lcd.h File Reference

#include <stdio.h>
#include <aversive.h>
#include "lcd_protocol.h"

Go to the source code of this file.

Functions

void lcd_init (uint8_t dispAttr)
void lcd_putc (char c)
int lcd_dev_putc (char c, FILE *f)
void lcd_gotoxy (uint8_t x, uint8_t y)
void lcd_clrscr (void)


Function Documentation

void lcd_clrscr ( void   ) 

clear all the screen avoid using this function, escpecially if you use printf

Definition at line 288 of file lcd.c.

References LCD_CLR, and lcd_command().

Referenced by lcd_init(), and lcd_putc().

int lcd_dev_putc ( char  c,
FILE *  f 
)

same than lcd_putc but with a prototype that is compliant with avrlibc > 1.4.0 fdevopen prototype

Definition at line 328 of file lcd.c.

References lcd_putc().

void lcd_gotoxy ( uint8_t  x,
uint8_t  y 
)

move the cursor in the screen, x= line, y = char

Definition at line 260 of file lcd.c.

References lcd_command(), and LCD_DDRAM.

Referenced by lcd_putc().

void lcd_init ( uint8_t  dispAttr  ) 

void lcd_putc ( char  c  ) 

Put a char on screen if c =
cursor is positioned on the next line if c = the screen will be cleared

Definition at line 304 of file lcd.c.

References lcd_clrscr(), and lcd_gotoxy().

Referenced by lcd_dev_putc().


Generated on Fri Mar 12 06:32:06 2010 for AVR by  doxygen 1.5.6