Skip to content

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