Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LCD Support #32

Closed
rmurphey opened this issue Jul 30, 2012 · 4 comments
Closed

LCD Support #32

rmurphey opened this issue Jul 30, 2012 · 4 comments

Comments

@rmurphey
Copy link
Contributor

@haugstrup has a proof of concept here -- wanted to see if we can move the discussion to here!

@haugstrup
Copy link
Contributor

Some random documentation so I don't have to store it in my brain:

One thing I'm not sure how to handle best is the character mapping. The character map for the LCD is 'almost' US-ASCII for the first 127 code points. There are the following changes:

  • 92 is a Yen symbol instead of backslash
  • 126 is a right-arrow instead of a tilde
  • 127 is a left-arrow instead of del

Additionally there are prettier versions of g, j, p, q and y available at code points 231, 234, 240, 241, 249. These go below the baseline and will only fit on a 5x10 pixel display, but they should be used instead of the ASCII code points for those letters if available.

Input should be validated before being sent to the LCD so only 'good' code points are being sent. Otherwise I think people can end up in strange situations.

@rmurphey
Copy link
Contributor Author

rmurphey commented Aug 2, 2012

Wanted to make a list of the things we should incorporate:

  • make command method use write4Bits or write8Bits methods (in-progress)
  • configurable four-bit, eight-bit mode
  • configurable 1/2 lines
  • configurable 5x8, 5x10 dots
  • display, noDisplay methods
  • setCursor method
  • cursor, noCursor methods
  • blink, noBlink methods
  • leftToRight, rightToLeft
  • scrollDisplayLeft, scrollDisplayRight
  • autoscroll, noAutoscroll

These should be straightforward to implement based on https://github.com/arduino/Arduino/blob/master/libraries/LiquidCrystal/LiquidCrystal.cpp.

@haugstrup
Copy link
Contributor

A few more

  • Configure number of columns (16, 20, 40 whatever)
  • Convenience method for writing out a single line of text to the display

This was referenced Aug 2, 2012
@rwaldron rwaldron closed this as completed Aug 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants