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_CORE/PokittoCore.h
- Revision:
- 66:6281a40d73e6
- Parent:
- 60:8b6a110feeea
--- a/POKITTO_CORE/PokittoCore.h Sat Mar 23 19:22:35 2019 +0000 +++ b/POKITTO_CORE/PokittoCore.h Sat Mar 23 20:03:34 2019 +0000 @@ -62,7 +62,6 @@ #include "PokittoFakeavr.h" #define PALETTE_SIZE 256 -#undef PI #define PI 3.141592741f // For GB compatibility @@ -226,6 +225,7 @@ static void keyboard(char* text, uint8_t length); static void popup(const char* text, uint8_t duration); static void setFrameRate(uint8_t fps); + static uint8_t getFrameRate(); static void pickRandomSeed(); static uint8_t getCpuLoad();