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/ImageFormat/BmpImage.cpp
- Revision:
- 45:bbfc6002118c
- Parent:
- 23:f88837b8f914
diff -r 2b8560b11eab -r bbfc6002118c POKITTO_LIBS/ImageFormat/BmpImage.cpp --- a/POKITTO_LIBS/ImageFormat/BmpImage.cpp Tue May 01 18:58:31 2018 +0000 +++ b/POKITTO_LIBS/ImageFormat/BmpImage.cpp Mon May 21 18:03:03 2018 +0000 @@ -50,6 +50,11 @@ #include "FileIO.h" #endif + +#define max(a,b) ((a)>(b)?(a):(b)) +#define min(a,b) ((a)<(b)?(a):(b)) + + #if POK_ENABLE_SD > 0