Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I ve attached the project and ISIS schematic. LCD gets initialised, but it does not show characters. I m not able to debug it.. could someone please help?
Download the datasheet of this exact controller of the LCD. There you will find the correct sequence of commands to initialize LCD.
2nd do check that you have to wait for some milliseconds for the power buildup for lcd.
I seen the only problem is that
ANSEL=0; // Set output as Digital
u may add the line in ur code to set port as digital
however check the attachment, that hav solved the problem, [mikroC C program + Proteus sch]
hi, i tried ANSEL=0. no better. guess the issue might be initialisation of LCD. i m not able to access your function definitions. could you please put them into the source file?
Well i have no idea about mplab I am working with MikroC C language compiler, but check the following mplab c18 Libraries file and Example #3.2.2 on page#85 MPLAB_C18_Libraries
if not works
before initialization the LCD
use
ADC_0ANA ; //for set all outputs as digital
or use
void CloseADC( void ); //for Disable the A/D converter.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.