You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void loop(void)
{
....
Tft.drawNumber(counter++, 0, 0, 2, WHITE);
....
}
when drawing characters merge into a white rectangle.
the characters are not merged, when output in one position, you must add the function
void TFT :: drawChar(.....)
if((temp>>f)&0x01)
{
fillRectangle(poX+i_size, poY+f_size, size, size, fgcolor);
}
else fillRectangle(poX+i_size, poY+f_size, size, size, BLACK); //<------ BLACK is a Background color
The text was updated successfully, but these errors were encountered:
void loop(void)
{
....
Tft.drawNumber(counter++, 0, 0, 2, WHITE);
....
}
when drawing characters merge into a white rectangle.
the characters are not merged, when output in one position, you must add the function
void TFT :: drawChar(.....)
if((temp>>f)&0x01)
{
fillRectangle(poX+i_size, poY+f_size, size, size, fgcolor);
}
else fillRectangle(poX+i_size, poY+f_size, size, size, BLACK); //<------ BLACK is a Background color
The text was updated successfully, but these errors were encountered: