Contains the main execution of the clock uses headers to import functions

Dependencies:   RTC-DS1307 SPI_TFT_ILI9341 TFT_fonts mbed tsi_sensor

Fork of TFT_Mikroelectronika_IL9341_sketchpad by Oxford CWM Team

Revision:
48:76ac309a2bd9
Parent:
39:4b70d28cb273
--- a/drawStates.h	Fri May 26 08:45:43 2017 +0000
+++ b/drawStates.h	Fri May 26 09:34:38 2017 +0000
@@ -10,7 +10,7 @@
             TFT.background(Red);
             TFT.locate(2,5);
             TFT.set_font((unsigned char*) Arial12x12);
-            TFT.printf("Dig/\n\rALog");
+            TFT.printf("Digi/\n\rALog");
             TFT.fillrect(0, 50, 50, 100, Green); //second button for settings page
             TFT.background(Green);
             TFT.locate(2, 55);
@@ -23,7 +23,7 @@
             TFT.fillrect(0, 150, 50, 200, White); //last button for pong game
             TFT.foreground(Black);
             TFT.locate(2,155);
-            TFT.printf("Pong");
+            TFT.printf("Cycle\n\rFaces");
             TFT.background(Black);
             TFT.foreground(White);
             TFT.fillrect(0, 200, 50, 240, Black); //home button to reset
@@ -62,7 +62,7 @@
             TFT.background(Red);
             TFT.locate(2,5);
             TFT.set_font((unsigned char*) Arial12x12);
-            TFT.printf("Dig/\n\rALog");
+            TFT.printf("Digi/\n\rALog");
             TFT.fillrect(0, 50, 50, 100, Green);
             TFT.background(Green);
             TFT.locate(2, 55);
@@ -75,7 +75,7 @@
             TFT.fillrect(0, 150, 50, 200, White);
             TFT.foreground(Black);
             TFT.locate(2,155);
-            TFT.printf("Pong");
+            TFT.printf("Cycle\n\rFaces");
             TFT.background(Black);
             TFT.foreground(White);
             TFT.fillrect(0, 200, 50, 240, Black);