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:
5:ea7377f3d1af
Parent:
4:ecf2fe370c1c
Child:
17:10609a82d462
--- a/Pokitto_settings.h	Tue Sep 19 13:42:25 2017 +0000
+++ b/Pokitto_settings.h	Wed Oct 11 20:35:27 2017 +0000
@@ -243,15 +243,19 @@
     #endif // PROJ_TILEBITDEPTH
 #else
 #ifndef PROJ_SCREENMODE
+    #undef POK_COLORDEPTH
     #ifdef PROJ_HIRES
         #if PROJ_HIRES > 0
             #define POK_SCREENMODE MODE_HI_4COLOR
+            #undef POK_COLORDEPTH
             #define POK_COLORDEPTH 2
         #elif PROJ_HICOLOR > 0
             #define POK_SCREENMODE MODE_256_COLOR
+            #undef POK_COLORDEPTH
             #define POK_COLORDEPTH 8
         #else
             #define POK_SCREENMODE MODE_FAST_16COLOR
+            #undef POK_COLORDEPTH
             #define POK_COLORDEPTH 4
         #endif // PROJ_HIRES
     #else