#682 Add created() function for sprites

New function added:
  bool created(void);
to check if sprite has been rotated. Example:

if ( !spr.created() ) Serial.println("Sprite has not been created");
This commit is contained in:
Bodmer committed 2020-07-07 00:52:55 +01:00
1 parent 8fc52dc1f5
commit a6d50ea5ef
8 files changed
+18 -6

No files matched your search

@@ -6,7 +6,7 @@
// parallel TFT's (tested with ILI9341 and ILI9481)
// The sketch will run on processors without DMA and also parallel
// interface TFT's. Comment out line 25 for no DMA.
// interface TFT's. Comment out line 29 for no DMA.
// Library here:
// https://github.com/Bodmer/TFT_eSPI