Hello, somehow i can't figure-out how to paint all colors in RGB565 format.
Idea is simple, i need to clear screen in all light spectrum collors like this:
u16 a=0;
while(1)
{
LCD_Clear(get_rainbow_color(a));
a++;
}
Any idea how to write get_rainbow_color(u16 Color) ? . But colors should be from red to blue or from blue to red, not random like LCD_Clear(a);