From: Francois B <mrs...@us...> - 2005-01-25 02:25:42
|
Update of /cvsroot/openneo/openneo/firmware/export In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10243 Modified Files: lcd.h Log Message: Uncomplete lcd_format() function Index: lcd.h =================================================================== RCS file: /cvsroot/openneo/openneo/firmware/export/lcd.h,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** lcd.h 22 Oct 2004 23:48:26 -0000 1.15 --- lcd.h 25 Jan 2005 02:25:32 -0000 1.16 *************** *** 59,64 **** void lcd_update(void); /* CGRAM functions */ ! void lcd_set_cgram_bank( unsigned char bank ); --- 59,67 ---- void lcd_update(void); + /* sprintf like functions to write to the lcd */ + int lcd_format(int x, int y, int flags, const char *fmt, ...); + /* CGRAM functions */ ! int lcd_set_cgram_bank( unsigned char bank ); *************** *** 109,113 **** #define FMT_LPADDED 4 #define FMT_RPADDED 8 ! /* NEO LCD INFO --- 112,117 ---- #define FMT_LPADDED 4 #define FMT_RPADDED 8 ! #define FMT_SCROLL 16 ! #define FMT_PADDED (FMT_LPADDED|FMT_RPADDED) /* NEO LCD INFO |