Now I draw a picture of the battery. And want the inside to reduce the amount of battery decreased
What additional code should I put?
Thank you.
tft.fillRoundRect(116, 148, 9, 3, 3, ST77XX_WHITE);
tft.drawLine(127, 120, 127, 148, ST77XX_CYAN);
tft.drawLine(127, 120, 113, 120, ST77XX_CYAN);
tft.drawLine(113, 120, 113, 148, ST77XX_CYAN);
tft.drawLine(127, 148, 113, 148, ST77XX_CYAN);
tft.fillRoundRect(115, 146, 11, 3, 0, ST7735_BLACK);
tft.fillRoundRect(115, 122, 11, 25, 0, ST77XX_WHITE);
