Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: YATTT sd_map_test cPong SnowDemo ... more
PokittoLib
Library for programming Pokitto hardware
How to Use
- Import this library to online compiler (see button "import" on the right hand side
- DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
- Change My_settings.h according to your project
- Start coding!
POKITTO_CORE/PALETTES/palGameboy.cpp
- Committer:
- Pokitto
- Date:
- 2019-12-25
- Revision:
- 71:531419862202
- Parent:
- 0:e8b8f36b4505
File content as of revision 71:531419862202:
#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
};