You are reading a single comment by @DaveNI and its replies. Click here to read the full conversation.
  • Thanks - that sounds perfect! I'll try it out this evening and may write a completely new ILI9341 module which is backwardly compatible with the existing one but doesn't use any callbacks.

    Setting the background colour could be an issue but I could query the display to get the existing background (probably just one pixel needed assuming the background was from a simple fillRect).

    The SPI speed should be the only bottleneck now - clear() takes a second or so but then that is 320 * 240 * 16 = 1,228,800 bits!!

    An option when initialising Graphics would definitely be cleaner (some day!) but your suggested method should have very little impact on performance.

About

Avatar for DaveNI @DaveNI started