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.
Interfacing 16*2 LCD JHD162A with xmc4500 micro controller series
the code. P0--> data lines, P1.0 --RS, P1.1--> RW, P3.0--> E.
Code (C):
- /*
- * main.c
- *
- * Created on: 2016 Dec 09 19:23:38
- * Author: DELL
- */
- #include <DAVE.h> //Declarations from DAVE Code Generation (includes SFR declaration)
- void LCD_init(void);
- void...