| CODE |
| lcd.c: In function 'lcd_command': lcd.c:47: error: 'SRE' undeclared (first use in this function) lcd.c:47: error: (Each undeclared identifier is reported only once lcd.c:47: error: for each function it appears in.) lcd.c:49: error: 'DDRE' undeclared (first use in this function) lcd.c:51: error: 'PORTE' undeclared (first use in this function) |
| CODE |
| void lcd_command(unsigned char data){ cli(); cbi(MCUCR, SRE); outp(0xff,DDRC); outp(0x07,DDRE); outp(data,PORTC); sbi(PORTE, 2); cbi(PORTE, 3); cbi(PORTE, 1); etc. } |
| CODE |
| #include <string.h> #include <io.h> #include <progmem.h> #include <sig-avr.h> #include <interrupt.h> |