We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear all, In my logic LCD Panels are using . I have to write a program for CX51 version. How to initialize the LCd in my program. I have to use single line 16 character LCD's are used. plz help
That question is about as as easy to answer as how to service a car - if I don't even know make/model of the car...
One part is real easy
void InitAllComponents(void) { // ... Initialisation of other parts here Lcd_Init(); // ... Initialisation of other parts here }
The other part requires some effort on your part
void Lcd_Init(void) { // ... Do things dependant upon the particular type of LCD // ... May require some reading of documentation ! }
Unfortunately your lack of detail relating to the type of LCD your using and how it is interfaced to the CPU make any further response from us difficult.
void Lcd_Init(void) { // ... Do things dependant upon the particular type of LCD and your particular target hardware // ... WILL require careful reading of documentation ! }
You might also refer to www.8052.com/tutlcd.phtml and www.8052.com/tutlcd2.phtml and, in fact, the whole of www.8052.com/tutorial.phtml - not to mention http://www.keil.com/support/man_c51.htm