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

Fixed row_offsets will not support 16x4 lcds. #52

Open
jgmbrand opened this issue May 19, 2021 · 1 comment
Open

Fixed row_offsets will not support 16x4 lcds. #52

jgmbrand opened this issue May 19, 2021 · 1 comment

Comments

@jgmbrand
Copy link

Function : void LiquidCrystal_I2C::setCursor(uint8_t col, uint8_t row)
for 20x4, 20x2,16x2 ... etc, :
int row_offsets[] = { 0x00, 0x40, 0x14, 0x54 };
for 16x4 following offsets are needed:
int row_offsets[] = { 0x00, 0x40, 0x10, 0x50 };

@MattBelle95
Copy link

I was going to mention the same issue
I tried int row_offsets[] = { 0x00, _cols*4, _cols*1, _cols*5 }; on my 16x4
If you have 20x4, 20x2, or 16x2, can you try it and let us know if it works

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

2 participants