ok i've found the palette issue...
the display is RGB16bits not RGB24bits, so the MAC16 Palette look like this with 16bits values:
var colorPalette = new Uint16Array([
0x0, 0x4228, 0x8c51, 0xBDD7,
0x9b26, 0x6180, 0x320, 0x540,
0x04DF, 0x19, 0x3013, 0xf813,
0xd800, 0xfb20, 0xffE0, 0xffff]);
© Espruino, powered by microcosm.
Report a problem