I'm trying to implement a function that displays the letter `c` on the LCD using 4-bit mode. But when I run the code on Proteus I get a blank lcd.
I tried the code with 8 bit mode (without the bits manipulation) and works perfectly. So there's nothing wrong with lcd_send() and lcd_save() i guess.
I know there's tons of libraries for that, but i'm trying to write it for learning purpose.
Here's my code:
[LCD] 4 Bit Mode not showing anything on the LCD
I tried the code with 8 bit mode (without the bits manipulation) and works perfectly. So there's nothing wrong with lcd_send() and lcd_save() i guess.
I know there's tons of libraries for that, but i'm trying to write it for learning purpose.
Here's my code:
Code (Text):
- void init_lcd()
- {
- //Setting DDRA and DDRC to output
- struct conf...