Line 95:
Line 95:
The conversion to RGB888 is made like this (C):
The conversion to RGB888 is made like this (C):
+
<source lang="c">
u8 r = ((color ) & 0x1f)<<3;
u8 r = ((color ) & 0x1f)<<3;
u8 g = ((color >> 5) & 0x1f)<<3;
u8 g = ((color >> 5) & 0x1f)<<3;
u8 b = ((color >> 10) & 0x1f)<<3;
u8 b = ((color >> 10) & 0x1f)<<3;
+
</source>
== Checksums ==
== Checksums ==