Bodmer / TFT_HX8357

Arduino library for HX8357 TFT display
118 stars 52 forks source link

How do I clear the screen(Is there any function for it?) #29

Closed someGuy332 closed 5 years ago

rafik73github commented 5 years ago

tft.fillScreen(color);

someGuy332 commented 5 years ago

tft.fillScreen(color);

it doesn't really work for me..... tft.setCursor(80,100); tft.setTextColor(WHITE, BLACK); tft.setTextSize(13); tft.print(75); tft.fillScreen(BLACK);

this is my code but nothing happens :(

rafik73github commented 5 years ago

Do you initialize tft? tft.init(); try tft.fillScreen(TFT_BLACK);