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:
1:4b1511a0a2c2
Parent:
0:e8b8f36b4505
Child:
2:968589ca3484
--- a/POKITTO_CORE/PokittoCore.cpp	Mon Sep 18 11:47:51 2017 +0000
+++ b/POKITTO_CORE/PokittoCore.cpp	Mon Sep 18 12:34:05 2017 +0000
@@ -204,6 +204,10 @@
     display.directcolor=COLOR_GREEN;
     display.setCursor(0,0);
     display.enableDirectPrinting(true);
+    display.enableDirectPrinting(true);
+    display.directbgcolor = COLOR_RED;
+    display.setCursor(1,1); display.print("GOT TO LOADER"); 
+    while(1);
     #ifdef POK_SIM
     display.println("LOADER IS NOT AVAILABLE ON THE SIMULATOR. PRESS A TO RETURN.");
     #else
@@ -442,11 +446,13 @@
 	#else
 	display.setFont(fontC64);
     #endif
+    
 	#if POK_ENABLE_SOUND > 0
         sound.begin();
-
+	
 	//mute when B is held during start up or if battery is low
 	battery.update();
+	
 	if(buttons.pressed(BTN_B) || (battery.level == 0)){
 		sound.setVolume(0);
 	}
@@ -467,6 +473,10 @@
 		#endif // POK_GBSOUND
 	}
 	#endif // POK ENABLE_SOUND
+	display.enableDirectPrinting(true);
+    display.directbgcolor = COLOR_RED;
+    display.setCursor(1,1); display.print("GOT HERE"); 
+    while(1);
 }
 
 void Core::init() {