Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

[LCD] 4 Bit Mode not showing anything on the LCD

$
0
0
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:
Code (Text):
  1.  
  2. void init_lcd()
  3. {
  4.  //Setting DDRA and DDRC to output
  5.     struct conf...
[LCD] 4 Bit Mode not showing anything on the LCD

Viewing all articles
Browse latest Browse all 4923

Trending Articles