Arduino-LiquidCrystal-I2C-library icon indicating copy to clipboard operation
Arduino-LiquidCrystal-I2C-library copied to clipboard

int row_offsets[] = { 0x00, 0x40, 0x14, 0x54 };

Open simonik opened this issue 7 years ago • 2 comments

I have to change it¨to int row_offsets[] = { 0x00, 0x40, 0x10, 0x50 };

simonik avatar Mar 22 '17 22:03 simonik

I checked that constructor parameter cols is used for nothing. That should be used to calculate row_offsets instead of hard coded values. I'll check forks first has somebody implemented that already.

larryfant avatar Aug 24 '18 12:08 larryfant

This solution ist flexible: int row_offsets[] = { 0x00, 0x40, _cols, 0x40 + _cols };

kirk-loeten avatar Jun 26 '20 22:06 kirk-loeten