added so the answer text is at the bottom

This commit is contained in:
Sam
2024-03-07 13:04:14 +01:00
parent f2964ebce8
commit d1c962f71c

View File

@@ -41,8 +41,8 @@ void loop() {
tft.fillScreen(ST7796S_BLACK); // Fill the screen with black color
// writeText(Question[0], 2, 50, 0, 0);
// writeText(Answer[0], 2, 50, 300, 4000);
displayText.writeText(Question[i], 3, 0, 0, 0, true);
displayText.writeText(Answer[i], 3, 0, 200, 0, true);
displayText.writeText(Question[i], 3, 0, 0, 0, true, false);
displayText.writeText(Answer[i], 3, 0, 200, 0, true, true);
delay(10000);
}