What is max size text display?
I think that the controller chip is capable of 80 characters. The most common 80-character display is the 4x20 but you can get 2x40 models. A quick search did not turn up any 8x10 or 1x80 displays.
So it may need work if I wanted to use 4x40, probably the largest standard character LCD around? The 4x40 has 1 extra pin, an extra enable to control the second H44780.
wilykat:
So it may need work if I wanted to use 4x40, probably the largest standard character LCD around? The 4x40 has 1 extra pin, an extra enable to control the second H44780.
I think if you treat the two controllers as two separate LCD interfaces it should work fairly easily.
So it may need work if I wanted to use 4x40, probably the largest standard character LCD around? The 4x40 has 1 extra pin, an extra enable to control the second H44780.
"I think if you treat the two controllers as two separate LCD interfaces it should work fairly easily."
This will work, but why don't you just use a library that is written for the 40x4 displays? Start here --> Google Code Archive - Long-term storage for Google Code Project Hosting. and follow the links to the current version which is was LiquidCrystal1.0 the last time I looked.
Don
Hellow !
I have an issue with my Arduino's LCD.
I'm controlling a DC motor and i need to display motor's RPM and the PWM pulse lenght.
To print the PWM lenght, i use this code :
lcd.setCursor(0,0);
lcd.print(potValue);
The code works, but if i go up to 254 and than i come back to less then 100, i have on the display, for example, 400 instead 40, or 340 instead 34.
With the RPM i have the same problem. If i go up to 3000 and the i come back to less then 1000, for example 800, my LCD print 8000.
How can i resolve the problem ?
TNX !
How can i resolve the problem ?
This is a new topic.
Start a new thread with an appropriate title.
Don
lcd.setCursor(0,0);
lcd.print(" "); // Blank out the previous value with four spaces
lcd.setCursor(0,0);
lcd.print(potValue);
Thanks.
So the standard library will do 4x20, 2x40, etc. for a total of 80 characters?
So the standard library will do 4x20, 2x40, etc. for a total of 80 characters?
Correct. It will also handle the displays with less than 80 characters.
The same controller is used for all of the displays that have up to 80 characters and there is no way to inform the controller as to which display it is driving. This coordination must therefore be done by software and in the case of the LiquidCrystal library you use lcd.begin() to tell the library the configuration of the display you are using.
In the case of the less common larger displays, such as the 40x4, they simply use two controllers. For these displays you can use two instances of the standard LiquidCrystal library or you can use a variation, LiquidCrystal1.0, which was written to handle the 40x4 displays.
Don