Open GoogleCodeExporter opened 9 years ago
Original comment by dmel...@gmail.com
on 1 Feb 2010 at 4:37
There are several versions that are available at
http://code.google.com/p/liquidcrystal440/downloads/list
My recommendation for -19 is the last version ('4bit'). It fixes one bug that I
think is in the others (Paul Stoffregen found it reading the code, it only
shows up when the 2nd enable line on the 40x4 LCDs is attached to pin 0). It
has longer delays that support (rare) LCDs that work slower than the vast
majority. I think that is desirable to avoid problems for the few who end up
using those slower LCDs.
The places that might be controversial (vis a vis -19) it seems to me are:
in LiquidCrystal.h there is a one line inline fcn overriding (); that supports
the syntax lcd(15,1) to mean the same as lcd.setCursor(15,1) and is intended to
complement use of Mikal Hart's Streaming library. It is 'weightless'--there is
no additional code generated to support it.
The userbusy versions of the API. These are complex to use and explain. They
add a little performance advantage which might be worthwhile in certain
time-critical situations. It is very lightweight--the code to support it is
almost all written by the user, in the user sketch, but not 'weightless'; there
are 2 versions of the initial call to instatiate the LiquidCrystal object and a
few lines of code to call the userbusy routine.
Original comment by johnrain...@gmail.com
on 8 Jul 2010 at 10:24
Any chance you can split out these improvements into separate patches and
issues? For example, using the R/W pin (if supplied) to lower wait times would
be a good, straightforward change, and the auto-wrapping of text could be nice
too. Also, supporting 16x1 LCDs in a more intuitive way would be good. 40x4
LCDs don't seem that common (at least, SparkFun doesn't sell any), so maybe
it's not needed in the core library?
Original comment by dmel...@gmail.com
on 10 Jul 2010 at 8:45
http://www.nkcelectronics.com/character-lcd-module-40x4-yellowgr404.html
I will try to get a version that does not support the 40x4 and 27x4 displays
tested and posted in the next 48-72 hrs.
Original comment by johnrain...@gmail.com
on 18 Jul 2010 at 12:47
I posted a version that eliminates 40x4 LCD support and the UserBusy test on
the google code link above. I hope this works for you. It certainly simplifies
parts of the code.
I do know that I wasn't the first to implement 40x4 support, but it had been
done with much earlier versions of the code base that did not work nearly so
well.
The code needs appropriate copyright notices added. Please do that.
I put comments in both the .cpp and .h file around lines I think should be
eliminated when the name changes to LCD in 1.0
Original comment by johnrain...@gmail.com
on 18 Jul 2010 at 9:58
Yet another solution for 40x4 displays. Use inheritance to support 40x4
displays instead of a big "can do everything" library. The following patch
enables inheritance on the lcd library:
https://github.com/arduino/Arduino/pull/87 and
https://github.com/manfredjonsson/LiquidCrystalAddons shows possible usages
including 40x4 support.
Original comment by mmmjons...@gmail.com
on 2 Jun 2012 at 1:04
Original issue reported on code.google.com by
dmel...@gmail.com
on 1 Feb 2010 at 4:37