Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

printToSprite("1") displays blank sprite #3570

Open
Exiled350 opened this issue Dec 3, 2024 · 0 comments
Open

printToSprite("1") displays blank sprite #3570

Exiled350 opened this issue Dec 3, 2024 · 0 comments

Comments

@Exiled350
Copy link

Using an ESP32-WROOM-32D, Visual Studio Code, ST7789V SPI display. When calling printToSprite() anything with just the number one "1" will display a blank sprite. anything else works, numbers, letters, a "1" with another character. Both printToSprite("1") and printToSprite((String) (x)) where x == 1. The sprite is generated and appears to be the correct size, it's just blank.

tft.setTextDatum(TL_DATUM); spr.loadFont(AA_FONT_16_64); spr.setTextColor(TFT_BLACK, TFT_SKYBLUE); tft.setCursor(10, 10); spr.printToSprite("1");
PXL_20241203_203802201

tft.setTextDatum(TL_DATUM); spr.loadFont(AA_FONT_16_64); spr.setTextColor(TFT_BLACK, TFT_SKYBLUE); tft.setCursor(10, 10); spr.printToSprite("10");
PXL_20241203_203840056

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant