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!
Revision:
29:9467921dec10
Parent:
27:24970a0c35a8
--- a/POKITTO_CORE/PokittoDisplay.cpp	Fri Jan 05 02:19:51 2018 +0000
+++ b/POKITTO_CORE/PokittoDisplay.cpp	Mon Jan 29 12:29:45 2018 +0000
@@ -494,7 +494,7 @@
     c = c & (PALETTE_SIZE-1) ; //don't let palette go out of bounds
     if (bpp==1 && c) c=0xFF; // set all pixels
     else if (bpp==2) {
-        c = bgcolor & 0x3;
+        c = c & 0x3;
         c = c | (c << 2);
         c = c | (c << 4);
     } else {