You are reading a single comment by @mrQ and its replies. Click here to read the full conversation.
  • hi,
    the ILI9341 needs some performance tweak to allow fast visible feedback after user interaction (button press).
    imho the paletted driver is no solution, due to it's very slow .flip(). even when combined with .getModified() there remains the trade off between high memory consumption and low color depth. and mostly it is not necessary to keep the display data all the time in memory.

    running just a partial display update, with data generated by Graphics.createArrayBuffer() does the job quite fine.
    unfortunately the spi.write() blocks execution until everything sent. this prevents interlacing of drawing and spi output - which would bring some noteable performance boost.

    is there any possibility to make the spi.write async?
    either with a callback (which allows the app to do some buffer/job managerment), or at least with a simple option "please dont block" (so that the app hands over the buffer and forgets it)?

About

Avatar for mrQ @mrQ started