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.cpp
- Revision:
- 68:61a4ccb0a4b6
- Parent:
- 66:6281a40d73e6
--- a/POKITTO_CORE/PokittoCore.cpp Thu Apr 04 17:07:28 2019 +0000 +++ b/POKITTO_CORE/PokittoCore.cpp Fri Apr 05 11:18:14 2019 +0000 @@ -908,6 +908,10 @@ sound.updateStream(); #endif + #ifdef PROJ_BUTTONS_POLLING_ONLY + buttons.pollButtons(); + #endif + uint32_t now = getTime(); if ((((nextFrameMillis - now)) > timePerFrame) && frameEndMicros) { //if time to render a new frame is reached and the frame end has ran once nextFrameMillis = now + timePerFrame;