ILI9341 bug?

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

Moderator: Benj

Posts: 54
Joined: Thu Nov 23, 2017 12:21 am
Has thanked: 15 times
Been thanked: 12 times

ILI9341 bug?

Postby keithh534 » Fri Jan 19, 2018 1:41 am

The 'SetBackgroundColour' method doesn't appear to function.
(8.51 KiB) Downloaded 27 times

User avatar
Matrix Staff
Posts: 1962
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 474 times
Been thanked: 674 times

Re: ILI9341 bug?

Postby LeighM » Fri Jan 19, 2018 3:58 pm

This was answered in

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.
These users thanked the author LeighM for the post:
keithh534 (Sun Feb 25, 2018 6:06 pm)
Rating: 5.26%