void RGB565ToRGB(unsigned short n565Color)
{
short nRed = (n565Color & 0xf800) >> 8;
short nGreen = (n565Color & 0x07e0) >> 3;
short nBlue = (n565Color & 0x001f) << 3;
}
RGB565 转 RGB
最新推荐文章于 2024-02-07 15:28:39 发布
void RGB565ToRGB(unsigned short n565Color)
{
short nRed = (n565Color & 0xf800) >> 8;
short nGreen = (n565Color & 0x07e0) >> 3;
short nBlue = (n565Color & 0x001f) << 3;
}