Correct #263, add setup file for 160x80 TFT, add invert option
Fixed bug where wrong wodth was returned for 1bpp Sprite Improved speed for copying a 1bpp Sprite into another 1bpp Sprite ( affects Sprite pushImage() function only) Added option to setup for colour inversion
This commit is contained in:
1 parent
1a5e34b6bb
commit
41dea61bfd
6 files changed
+250
-10
No files matched your search
@@ -366,6 +366,14 @@ void TFT_eSPI::init(uint8_t tc)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef TFT_INVERSION_ON
|
||||
writecommand(TFT_INVON);
|
||||
#endif
|
||||
|
||||
#ifdef TFT_INVERSION_OFF
|
||||
writecommand(TFT_INVOFF);
|
||||
#endif
|
||||
|
||||
spi_end();
|
||||
|
||||
setRotation(rotation);
|
||||
|
||||
Reference in new issue
Block a user