PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Dependents:   YATTT sd_map_test cPong SnowDemo ... more

PokittoLib

Library for programming Pokitto hardware

How to Use

  1. Import this library to online compiler (see button "import" on the right hand side
  2. DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
  3. Change My_settings.h according to your project
  4. Start coding!

POKITTO_CORE/PALETTES/palGameboy.cpp

Committer:
Pokitto
Date:
2017-09-18
Revision:
0:e8b8f36b4505

File content as of revision 0:e8b8f36b4505:

#include "PokittoPalettes.h"

const unsigned char paletteGameboy[48] = {
//original grayscale
0xFF,0xFF,0xFF, //white
0xAA,0xAA,0xAA, //light gray
0x55,0x55,0x55, //dark gray
0x00,0x00,0x00, //black
//optimum color output
0xed,0xed,0xff, //white
0xff,0xcc,0xc1, //light gray
0xff,0x00,0x00, //dark gray
0x00,0x89,0x01, //black
//red-green contrast
//0xed,0xFf,0xea, //white edffea
//0xff,0xb1,0xe2, //light gray efa1ce ffb1e2
//0xb6,0x00,0x92, //dark gray b60092
//0x5f,0x66,0x00, //black 5f6600

//cyan-pink contrast
//0xea,0xff,0xfd, //white
//0xff,0xb1,0xe3, //light gray
//0xb6,0x00,0x92, //dark gray
//0x5a,0x1b,0x00, //black

// sunset
//0xff,0xa5,0x6e, //white
//0xf5,0xb6,0xbb, //light gray
//0xdb,0x28,0x5a, //dark gray
//0x91,0x34,0x00, //black
//cotton sky
0x6f,0xe5,0xff, //white
0xff,0xc8,0xb6, //light gray
0xff,0x03,0x54, //dark gray
0x12,0x00,0x38, //black
// beautiful yellow,pink,red,brown color contrast
0xFF,0xF2,0x91, //white  fff291
0xf7,0xe0,0xd1, //light gray f7e0d1
0xff,0x2d,0x61, //dark gray ff2d61
0x72,0x58,0x0b, //black 72580b
};