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/PokittoDisplay.cpp
- Revision:
- 9:570fdd653f1d
- Parent:
- 2:968589ca3484
- Child:
- 10:8cde5d0bafad
--- a/POKITTO_CORE/PokittoDisplay.cpp Sat Oct 07 21:34:27 2017 +0000 +++ b/POKITTO_CORE/PokittoDisplay.cpp Sun Oct 15 16:13:07 2017 +0000 @@ -212,6 +212,10 @@ lcdPixel(x,y,color); } +void Display::directTile(int16_t x, int16_t y, int16_t x2, int16_t y2, uint16_t* gfx) { + lcdTile(x,y,x2,y2,gfx); +} + void Display::directRectangle(int16_t x, int16_t y,int16_t x2, int16_t y2, uint16_t color) { lcdRectangle(x,y,x2,y2,color); }