[svn] / mabikey / lcd.h Repository:
ViewVC logotype

View of /mabikey/lcd.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 975 - (download) (as text) (annotate)
Sun Dec 7 11:59:43 2008 UTC (21 months ago) by kouhei
File size: 634 byte(s)
logo animation impl.
#ifndef _LCD_H_
#define _LCD_H_

#include <avr/pgmspace.h>

// akizuki LCD driver
// by Kouhei Ueno (ueno@nyaxtstep.com)

#define LCD_CFG_IOPORTNAME C
#define LCD_CFG_DLSB 0
#define LCD_CFG_RS 4
#define LCD_CFG_E 5

#define LCD_CFG_WIDTH 20
#define LCD_CFG_FOUR_LINE

#undef LCD_CFG_AUTO_NEWLINE

extern void lcd_init(void);
extern void lcd_write(uint8_t c);
extern void lcd_putc(uint8_t c);
extern void lcd_puts(const char* s);
extern void lcd_puts_P(const char* s);
extern void lcd_locate(uint8_t x, uint8_t y);
extern void lcd_newline(void);
extern void lcd_cgram_addr(uint8_t addr);

#endif // _LCD_H_

admin
ViewVC Help
Powered by ViewVC 1.0.5