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
- 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/palCGA.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 paletteCGA[48] = { 0x00,0x00,0x00, //black 0xFF,0xFF,0xFF, //white 0xff,0x00,0xff, //magenta 0x00,0xFF,0xFF, //cyan 0xFF,0xFF,0x00, //yellow 0x00,0xFF,0x00, //green 0x00,0x00,0xFF, //blue 0xFF,0x00,0x00, //red 0x3F,0x3F,0x3F, //dark gray 0x7F,0x7F,0x7F, //light gray 0x7F,0x00,0x7F, //violet (dark magenta) 0x00,0x7F,0x7F, //teal (dark cyan) 0x7F,0x3F,0x00, //brown 0x00,0x7F,0x00, //dark green 0x00,0x00,0x7F, //dark blue 0x7F,0x00,0x00 //dark red };