ucglib icon indicating copy to clipboard operation
ucglib copied to clipboard

12x128 ili9163 without pixel offset

Open SaKiEQ opened this issue 3 years ago • 0 comments

I have an ili9163 that does not seem to have the 'usual' 32px memory offset. I got the library to work with Ucglib_ILI9163_18x128x128_HWSPI, by modifying ucg_dev_ic_ili9163.c. While it worked at first, when rotating the display setRotation(2), the 32px offset became an issue. Removing the +=32/-=32 arguments in the corresponding case 2: (ucg->arg.pixel.pos.y += 32;) arguments worked so far.

With the exception that circles just do not play nice, they still show the offset and get clipped when reaching the bottom (128-32px) boundary.

I can not seem to find the location where the clipping or offset for pixel functions happens.

Thanks

SaKiEQ avatar Nov 12 '21 23:11 SaKiEQ