/* * LCD interface function header file * Contained in lcd.c file */ /* write a byte to the LCD in 4 bit mode */ extern void Lcd_write(unsigned char); /* Clear and home the LCD */ extern void Lcd_clear(void); /* write a string of characters to the LCD */ extern void Lcd_puts(const char * s); /* Go to the specified position */ extern void Lcd_goto(unsigned char pos); /* intialize the LCD - call before anything else */ extern void Lcd_init(void); extern void Lcd_putch(char); /* Set the cursor position */ #define lcd_cursor(x) Lcd_write(((x)&0x7F)|0x80)