I am using STM32f429i. One of our requirement, I want to change the background color of my screen depends on the reading value(reads from other devices).
For eg : Reading value > 5 - use color A ,Reading value >3 - use color B ...etc .
I cleared the screen and fill with the color A or B depend on the reading value and then display the other details over on it. Since frequently I changing the background color and redraw the details over there, it creates a flickering effect on my screen.
Which one is the best method to change the background color without affecting the other details (images, text display) on the screen?