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
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