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
- Import this library to online compiler (see button "import" on the right hand side
- DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
- Change My_settings.h according to your project
- Start coding!
Diff: Pokitto_settings.h
- Revision:
- 4:ecf2fe370c1c
- Parent:
- 0:e8b8f36b4505
- Child:
- 5:ea7377f3d1af
--- a/Pokitto_settings.h Tue Sep 19 13:29:14 2017 +0000 +++ b/Pokitto_settings.h Tue Sep 19 13:42:25 2017 +0000 @@ -38,6 +38,8 @@ #ifndef POKITTO_SETTINGS_H #define POKITTO_SETTINGS_H +#include "My_settings.h" + #ifdef PROJ_BOARDREV #define POK_BOARDREV PROJ_BOARDREV // which revision of Pokitto board #else @@ -63,14 +65,18 @@ #endif #ifndef PROJ_GBSOUND - #define POK_GBSOUND 0 + #if POK_ENABLE_SOUND > 0 + #define POK_GBSOUND 0 + #endif #else #define POK_GBSOUND PROJ_GBSOUND #endif #ifndef PROJ_STREAMING_MUSIC - #define POK_STREAMING_MUSIC 1 // Define true to stream music from SD + #if POK_ENABLE_SOUND > 0 + #define POK_STREAMING_MUSIC 1 // Define true to stream music from SD + #endif #else #define POK_STREAMING_MUSIC PROJ_STREAMING_MUSIC #endif // PROJ_STREAMING_MUSIC