LiquidCrystal_I2C icon indicating copy to clipboard operation
LiquidCrystal_I2C copied to clipboard

Fixed row_offsets will not support 16x4 lcds.

Open jgmbrand opened this issue 3 years ago • 1 comments

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 };

jgmbrand avatar May 19 '21 19:05 jgmbrand

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

MattBelle95 avatar Jun 05 '21 09:06 MattBelle95