I really don’t know much about Arduino programming either, but I have done enough with coding over the years to sort of follow along.
To have just the large gear number show, as in the picture above, I made changes to 2 sections, both at the bottom of the Sketch.
Change “updatedisp” to look like this -
void updatedisp(){
update_gear();
//update_grade();
//update_front();
//update_rear();
//update_lock();
}
The “//” indicates it is remarked, and won’t execute. I didn’t want to delete it entirely, since I wasn’t sure it would work.
Then, change “update_gear” to look like this -
void update_gear(void){
// tft.drawString(frontgear, 0, 0, 7);
// tft.drawString(“:”, 35, 0, 7);
// tft.fillRect(50,0,tft.width() - 50,50,TFT_BLACK);
// tft.drawString(reargear, 50, 0, 7);
tft.drawString(String(frontgear), 15, 25, 8);
tft.drawString(“:”, 75, 25, 8);
tft.fillRect(100,25,tft.width() - 80,80,TFT_BLACK);
tft.drawString(String(reargear), 110, 25,8);
}
I remarked out the original settings, copied them, and pasted, and made adjustments. The “8” is the largest font size that the display can handle.
These settings will show just like the picture above.
I did not make any other changes that I can remember.