PokittoLib with changes to lcd refresh etc.

Dependents:   Pokittris

Fork of Pokitto by Pokitto Community Team

This is a fork by user @Spinal, and is used in Pokittris for testing. Do not import this to your own program.

Committer:
spinal
Date:
Sun Oct 15 18:03:02 2017 +0000
Revision:
11:02ad9c807a21
Parent:
0:e8b8f36b4505
fixed 4color refreshRegion code

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Pokitto 0:e8b8f36b4505 1 #include "PokittoPalettes.h"
Pokitto 0:e8b8f36b4505 2
Pokitto 0:e8b8f36b4505 3 const unsigned char paletteCGA[48] = {
Pokitto 0:e8b8f36b4505 4 0x00,0x00,0x00, //black
Pokitto 0:e8b8f36b4505 5 0xFF,0xFF,0xFF, //white
Pokitto 0:e8b8f36b4505 6 0xff,0x00,0xff, //magenta
Pokitto 0:e8b8f36b4505 7 0x00,0xFF,0xFF, //cyan
Pokitto 0:e8b8f36b4505 8
Pokitto 0:e8b8f36b4505 9 0xFF,0xFF,0x00, //yellow
Pokitto 0:e8b8f36b4505 10 0x00,0xFF,0x00, //green
Pokitto 0:e8b8f36b4505 11 0x00,0x00,0xFF, //blue
Pokitto 0:e8b8f36b4505 12 0xFF,0x00,0x00, //red
Pokitto 0:e8b8f36b4505 13
Pokitto 0:e8b8f36b4505 14 0x3F,0x3F,0x3F, //dark gray
Pokitto 0:e8b8f36b4505 15 0x7F,0x7F,0x7F, //light gray
Pokitto 0:e8b8f36b4505 16 0x7F,0x00,0x7F, //violet (dark magenta)
Pokitto 0:e8b8f36b4505 17 0x00,0x7F,0x7F, //teal (dark cyan)
Pokitto 0:e8b8f36b4505 18
Pokitto 0:e8b8f36b4505 19 0x7F,0x3F,0x00, //brown
Pokitto 0:e8b8f36b4505 20 0x00,0x7F,0x00, //dark green
Pokitto 0:e8b8f36b4505 21 0x00,0x00,0x7F, //dark blue
Pokitto 0:e8b8f36b4505 22 0x7F,0x00,0x00 //dark red
Pokitto 0:e8b8f36b4505 23 };
Pokitto 0:e8b8f36b4505 24