Color Uint16_T at Color

Color Uint16_T. I searched a while, but up til now i didn't get the right. Used to build color arrays from plain numbers.

RGB565 Color Picker Barth Development
RGB565 Color Picker Barth Development from www.barth-dev.de

Begin with setcursor(x, y), which will place the top left corner of the text wherever you please. Text is very flexible but operates a bit differently. You should use the lv_color_make function and pass it 3 rgb values, or (only if you know that lv_color_depth is 16) i think putting a uint16_t value in main_color.full might work.

RGB565 Color Picker Barth Development

Unsigned char, unsigned short, unsigned int and unsigned long long. // top 5 bits uint16 rgbvalue = blue | (green <<5) | (red << 11) you may need to mask of any unwanted stray bits after the shifts, as i am unsure how this works, but i think the code above should work. Void settextcolor(uint16_t color, uint16_t backgroundcolor); Void fillroundrect(uint16_t x0, uint16_t y0, uint16_t w, uint16_t h, uint16_t radius, uint16_t color);