Microcontroller › AVR › Interfacing LCD with ATMEGA 8 › So you are using PORTD
March 4, 2013 at 8:09 am
#9233
AJISH ALFRED
Participant
So you are using PORTD right?
Then change the followinh lines:
#define rs PB0
#define rw PB1
#define en PB2
as follows
#define rs PD0
#define rw PD1
#define en PD2