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_XTERNALS/Arduino/delay.cpp
- Revision:
- 8:754a7af30890
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/POKITTO_XTERNALS/Arduino/delay.cpp Thu Oct 12 10:36:40 2017 +0000 @@ -0,0 +1,9 @@ +#include <Arduino.h> +#include "PokittoCore.h" + +Pokitto::Core _dc; + +/** for Arduino compatibility **/ +void delay(unsigned long t) { + _dc.wait(t); +}