Skip to content

added setRowOffsets to liquid crystal library #55

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

Closed
wants to merge 3 commits into from

Conversation

msproul
Copy link

@msproul msproul commented Dec 16, 2011

There are several LCD displays that have different internal memory foot prints than the standard library supports. For example, the normal row offsets are {0x00, 0x40, 0x14, 0x54}, other displays need different offsets such as { 0x00, 0x40, 0x10, 0x50 };

This change keeps the default the way it is and adds a method setRowOffsets which is called as follows

 LCD.setRowOffsets(0x00, 0x40, 0x10, 0x50);

No impact on existing code and it simply moves the array definition from the setCursor function into the class definition.

@matthijskooijman
Copy link
Collaborator

The liquidcrystal improvements have been re-implemented in a more generic way in #1748, so I'll close this issue. I'm not sure if the watchdog commit was intended for here (commit looks too big to me as well) - if it's still relevant, please resubmit it in separate PR.

tbowmo pushed a commit to tbowmo/Arduino that referenced this pull request Jul 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants