Update for spelling etc. in comments!

This commit is contained in:
Bodmer committed 2023-12-07 20:35:59 +00:00
1 parent aefcf5af63
commit d506a3c49d
197 files changed
+1006 -757

No files matched your search

+4 -4
View File
@@ -14,12 +14,12 @@
any position. If there is sufficient RAM then the Sprite can
be the same size as the screen and used as a frame buffer.
A 16 bit Sprite occupies (2 * width * height) bytes in RAM.
A 16-bit Sprite occupies (2 * width * height) bytes in RAM.
On a ESP8266 Sprite sizes up to 126 x 160 can be accommodated,
this size requires 40kBytes of RAM for a 16 bit colour depth.
this size requires 40kBytes of RAM for a 16-bit colour depth.
When 8 bit colour depth sprites are created they occupy
When 8-bit colour depth sprites are created they occupy
(width * height) bytes in RAM, so larger sprites can be
created, or the RAM required is halved.
@@ -47,7 +47,7 @@ void setup()
tft.init();
// Optionally set colour depth to 8 or 16 bits, default is 16 if not specified
// spr.setColorDepth(8);
// spr.setcolorDepth(8);
// Create a sprite of defined size
spr.createSprite(WIDTH, HEIGHT);