arunbharathi.arasu
Full Member level 2
- Joined
- Feb 28, 2013
- Messages
- 134
- Helped
- 7
- Reputation
- 14
- Reaction score
- 6
- Trophy points
- 1,298
- Location
- Chennai, Tamil Nadu, India
- Activity points
- 2,151
hi,
I don't know which compiler you are using.I hope you know command and data can be send by 2 ways(4 bit /8bit).
First of all you have to send command for set 4bit/8bit.Your code is written for 4 bit.
So before clearing LCD,you have to set mode.Generally 28h for 4bit and 38H for 8bit.
I don't know which compiler you are using.I hope you know command and data can be send by 2 ways(4 bit /8bit).
First of all you have to send command for set 4bit/8bit.Your code is written for 4 bit.
So before clearing LCD,you have to set mode.Generally 28h for 4bit and 38H for 8bit.