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/PokittoDisplay.cpp
- Revision:
- 2:968589ca3484
- Parent:
- 0:e8b8f36b4505
--- a/POKITTO_CORE/PokittoDisplay.cpp Mon Sep 18 12:34:05 2017 +0000 +++ b/POKITTO_CORE/PokittoDisplay.cpp Tue Sep 19 08:47:36 2017 +0000 @@ -1666,15 +1666,15 @@ k = i; l = j; break; - case ROTCCW: //90° counter-clockwise + case ROTCCW: //90� counter-clockwise k = j; l = w - i - 1; break; - case ROT180: //180° + case ROT180: //180� k = w - i - 1; l = h - j - 1; break; - case ROTCW: //90° clockwise + case ROTCW: //90� clockwise k = h - j - 1; l = i; break; @@ -1753,7 +1753,7 @@ cursorX -= font[0]; charstep=print_char(cursorX,cursorY,' '); break; - case 13: //carriage return !?!?!?!VT!?!??!?! + case 13: //carriage return cursorX = 0; break; case 14: //form feed new page(clear screen)