anilgkts / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

LiquidCrystal dimension properties #214

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
At LiquidCrystal::begin() we pass the number of columns. This value is not
used by the LiquidCrystal library. For my development I would need this
value. The _numlines property is also private.
I prefer to put LCD dimensions to public properties for further usage.

The dimensions of the display should be specified once. If someone needs
this value, it should be optained from LiquidCrystal instance.

This change may increase the size of the compiled binary.

Original issue reported on code.google.com by pram...@gmail.com on 2 Mar 2010 at 7:19

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have posted a version of LiquidCrystal that makes these available as 
lcd.numlines
and lcd.numcols. I did not add syntax coloring. these public items are updated 
when
you do begin(). they are not actually read or used internally so if you modify 
them
you will only confuse yourself, not the library routine. 
http://healthriskappraisal.org/LiquidCrystalBusy.zip

Original comment by johnrain...@gmail.com on 14 Mar 2010 at 7:51