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_LIBS/Synth/Synth_helpers.cpp
- Revision:
- 2:968589ca3484
- Parent:
- 0:e8b8f36b4505
--- a/POKITTO_LIBS/Synth/Synth_helpers.cpp Mon Sep 18 12:34:05 2017 +0000 +++ b/POKITTO_LIBS/Synth/Synth_helpers.cpp Tue Sep 19 08:47:36 2017 +0000 @@ -24,7 +24,9 @@ #define PROGMEM #define pgm_read_byte(addr) (*(const unsigned char *)(addr)) #ifndef WIN32 + #ifndef pgm_read_word #define pgm_read_word(addr) (*(const unsigned short *)(addr)) + #endif #else #define pgm_read_word(addr) (*(const unsigned int *)(addr)) #endif // WIN32