??? 10/26/10 09:02 Read: times |
#179346 - Also, ... Responding to: ???'s previous message |
Kiran V. Sutar said:
What is the type of LCD you are using?
The size of LCD Panel in terms of pixels? Per Westermark said:
The number of pixels would only be relevant if trying to use user-defined characters to show images on the display - in this case, we have to assume that it is an ASCII display, since the LCD function calls seems to send characters - and not bitmaps - to the display. Also, the OP's code seems to be assuming a standard HD44780 controller: Vijay Singh said:
void Lcd_Ini() { lcd_command(0x38); delay_ms(30); lcd_command(0x0c); delay_ms(10); lcd_command(0x06); delay_ms(10); lcd_command(0x01); delay_ms(10); } and the types of errors he is reporting are 'C' programming errors - nothing specifically to do with any LCD: Vijay Singh said:
its giving too many errors such as implicit declaration,,,too many parameters etc.how to make delay_ms function. Hence the real need here is for the OP to focus on learning the 'C' programming language and SDCC tools before getting into the details of LCDs... |
Topic | Author | Date |
lcd in C | 01/01/70 00:00 | |
Need some more information | 01/01/70 00:00 | |
JHD 162A | 01/01/70 00:00 | |
Number of pixels irrelevant | 01/01/70 00:00 | |
Also, ... | 01/01/70 00:00 | |
It is important to knwo the pixel size >>Per | 01/01/70 00:00 | |
Missed the point! | 01/01/70 00:00 | |
reg51.h | 01/01/70 00:00 | |
Pay attention to answers already given! | 01/01/70 00:00 | |
warning != error | 01/01/70 00:00 | |
(back?) To basics | 01/01/70 00:00 | |
How to post formatted source code | 01/01/70 00:00 | |
you can find some inspiration... | 01/01/70 00:00 |