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:
2:968589ca3484
Parent:
0:e8b8f36b4505
--- a/POKITTO_HW/HWSound.cpp	Mon Sep 18 12:34:05 2017 +0000
+++ b/POKITTO_HW/HWSound.cpp	Tue Sep 19 08:47:36 2017 +0000
@@ -118,6 +118,7 @@
     /* fallback method for broken MCP4018 */
     SoftwareI2C swvolpot(P0_4, P0_5); //swapped SDA,SCL
     swvolpot.write(0x5e,HWvolume);
+	return HWvolume;
 }
 
 uint8_t Pokitto::getHWvolume() {
@@ -250,7 +251,7 @@
 void pokSoundIRQ() {
     uint8_t output=0;
     #ifndef POK_SIM
-    pwmout_t* obj = &audiopwm;
+    //pwmout_t* obj = &audiopwm;
     #endif
     #if POK_STREAMING_MUSIC > 0
         #if POK_STREAMFREQ_HALVE