ILI9341 bug?

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
keithh534
Posts: 55
Joined: Thu Nov 23, 2017 12:21 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

ILI9341 bug?

Post by keithh534 »

The 'SetBackgroundColour' method doesn't appear to function.
Attachments
ILI9341.fcfx
(8.51 KiB) Downloaded 151 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: ILI9341 bug?

Post by LeighM »

Hi,
This was answered in
http://www.matrixtsl.com/mmforums/viewt ... 64&t=19745
text output with transparency off, which demonstrates how the new background colour is drawn.
Any change to background colour is only visible on the next draw, the existing background pixels do not change until then.
In other words, the 'SetBackgroundColour' only changes the background drawing colour,
to be actioned on the next drawing function,
it does not have any affect on the current screen pixels.

The screen does not actually have a background as such, it's just what colour the pixel was drawn with, foreground or background colour.

Post Reply