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
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