I upgraded the LCD to a parallel version that has better power control etc. This one doesn't flicker. 128x160 res instead of 128x128 and faster redraw over parallel not SPI
The key is you CAN NOT use a simple pixel plot routine.
I wrote a custom polydraw routine that does a triangle at a time. There is no single pixel plot.
The overhead of sending the x,y and colour is too big. I send the X/y for a whole line and then just pump out a line of colour. that saves many many bytes per line.
Is this the LCD from TechToys??
tchoutchawn 3 years ago
Yes, this is indeed from TechToys. They do many nice LCD modules.
pyrofer 3 years ago
Ok, but are you using the microchip library or something like that because ive never had a good refresh rate on these things.
tchoutchawn 3 years ago
No, All the code is written from scratch by me.
From the initialise routine to the plotting.
The key is you CAN NOT use a simple pixel plot routine.
I wrote a custom polydraw routine that does a triangle at a time. There is no single pixel plot.
The overhead of sending the x,y and colour is too big. I send the X/y for a whole line and then just pump out a line of colour. that saves many many bytes per line.
pyrofer 3 years ago