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

Interfacing 16*2 LCD JHD162A with xmc4500 micro controller series

$
0
0
I am trying to interface 16*2 lcd with xmc4500 with 4 bit operation. But it's displaying garbage value and second line characters are not getting displayed. Below is the code, please tell me what modifications have to be done in
the code. P0--> data lines, P1.0 --RS, P1.1--> RW, P3.0--> E.




Code (C):
  1.  
  2. /*
  3. * main.c
  4. *
  5. * Created on: 2016 Dec 09 19:23:38
  6. * Author: DELL
  7. */
  8.  
  9.  
  10.  
  11.  
  12. #include <DAVE.h> //Declarations from DAVE Code Generation (includes SFR declaration)
  13. void LCD_init(void);
  14. void...
Interfacing 16*2 LCD JHD162A with xmc4500 micro controller series

Viewing all articles
Browse latest Browse all 4924

Trending Articles