-->
Page 1 of 1

Problem with UCG lib / ili9163 128x128 TFT display

PostPosted: Mon Apr 04, 2016 12:18 am
by vcch
Hi !

I used ucblib (with ili9163_18x128x128_hw_spi) with a nodemcu v1.
- Module is this one, bought from aliexpress : http://www.aliexpress.com/item/Consumer ... 60001.html
- Firmware is NodeMCU 1.4.0 build 20151006 powered by Lua 5.1.4 on SDK 1.4.0 with li9163_18x128x128_hw_spi module
(I used Marcel Stoer's docker to build it)

Everything look fine except that a part of the screen looks bugged (see attached picture) and can(t be erased/drawn/accessed. It stays the same even if I restart the mcu and/or the screen. When I run the Graphics test examples provided with ucglib I had one occasion when the screen was fully used, then it came back to the situation with the screen only partially usable.

Any idea what it could be ???

Re: Problem with UCG lib / ili9163 128x128 TFT display

PostPosted: Tue Apr 05, 2016 2:45 pm
by vcch
Found it ! There is a bug in the library if you use the red PCB (the cheapest). To have it work you need to comment the "+32" and "-32" in ucg_dev_ic_ili9163.c in lines like "ucg->arg.pixel.pos.y += 32;"