jayanth.devarayanadurga
Banned
- Joined
- Dec 4, 2012
- Messages
- 4,280
- Helped
- 822
- Reputation
- 1,654
- Reaction score
- 791
- Trophy points
- 1,393
- Location
- Bangalore, India
- Activity points
- 0
I'm not so familiar with Proteus debugging, but you can see that the initialization sequence isn't correct, by tracing the simulation with LCD display diagnosis enabled.What about this
Why it is not working?
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 void Initialize_LCD(){ Write_LCD_Nibble(0x03); Delay_ms(5); Write_LCD_Nibble(0x03); Delay_ms(5); Write_LCD_Nibble(0x03); Delay_ms(2); Write_LCD_Nibble(0x02); Delay_ms(1); Delay_50ms(); Write_LCD_Cmd(0x28); // 4-bits, 2 lines, 5x7 font Delay_50ms(); Write_LCD_Cmd(0x0C); // Display ON, No cursors Delay_50ms(); Write_LCD_Cmd(0x06); // Entry mode- Auto-increment, No Display shifting Delay_50ms(); Write_LCD_Cmd(0x01); Delay_50ms(); Write_LCD_Cmd(0x80); Delay_50ms(); }
What do you see in display debug now?I changed the initialization like below but it is still not working.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?