neelamgpg
Newbie level 2
I am trying to interface an LCD to a PIC32 microcontroller without any success until now. I am using MPLABX as the platform. Initially some random characters used to get displayed. Basic instructions like cursor blink used to work but when I tried strings nothing worked and even the previous outputs are not coming.
Now nothing seems to work. Only a line of boxes is displayed. I tried changing the delays, changing the enable pin value, sending different sequences but nothing has worked till now. I checked the outputs for the enable pin on an oscilloscope. It toggles after a period of 500ms. I am using the LCD in the 4-bit mode. The LCD is being used at 5V. I have connected it to the 5V tolerant pins on the PIC32 and tried as well.
Kindly advise where I might be going wrong. I can post my code over here as well.
Now nothing seems to work. Only a line of boxes is displayed. I tried changing the delays, changing the enable pin value, sending different sequences but nothing has worked till now. I checked the outputs for the enable pin on an oscilloscope. It toggles after a period of 500ms. I am using the LCD in the 4-bit mode. The LCD is being used at 5V. I have connected it to the 5V tolerant pins on the PIC32 and tried as well.
Kindly advise where I might be going wrong. I can post my code over here as well.