2 #include <util/delay.h>
6 #define NOP() __asm__("nop")
11 void lcd_goto(uint8_t);
12 void lcd_write(uint8_t);
22 void lcd_set_data(uint8_t d)
28 PORTB = (PORTB&~0x04)|((d&1)<<2);
35 PORTD = (PORTD&0x3F) | (d<<6);
36 PORTB = (PORTB&0xC0) | (d>>2);
40 void lcd_command(uint8_t c)
68 void lcd_gotoxy(uint8_t x, uint8_t y)
77 void lcd_write(uint8_t c)