PokittoLib with changes to lcd refresh etc.
Fork of Pokitto by
This is a fork by user @Spinal, and is used in Pokittris for testing. Do not import this to your own program.
Diff: POKITTO_CORE/PokittoCore.cpp
- Revision:
- 3:689c3cbbef13
- Parent:
- 2:968589ca3484
- Child:
- 7:fee7bc74477f
diff -r 968589ca3484 -r 689c3cbbef13 POKITTO_CORE/PokittoCore.cpp --- a/POKITTO_CORE/PokittoCore.cpp Tue Sep 19 08:47:36 2017 +0000 +++ b/POKITTO_CORE/PokittoCore.cpp Tue Sep 19 13:29:14 2017 +0000 @@ -204,10 +204,6 @@ display.directcolor=COLOR_GREEN; display.setCursor(0,0); display.enableDirectPrinting(true); - display.enableDirectPrinting(true); - display.directbgcolor = COLOR_RED; - display.setCursor(1,1); display.print("GOT TO LOADER"); - while(1); #ifdef POK_SIM display.println("LOADER IS NOT AVAILABLE ON THE SIMULATOR. PRESS A TO RETURN."); #else @@ -473,10 +469,6 @@ #endif // POK_GBSOUND } #endif // POK ENABLE_SOUND - display.enableDirectPrinting(true); - display.directbgcolor = COLOR_RED; - display.setCursor(1,1); display.print("GOT HERE"); - while(1); } void Core::init() {