PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Dependents:   Sensitive

Fork of PokittoLib by Jonne Valola

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