test fork

Dependencies:   SPI_TFTx2 SPI_TFTx2_ILI9341 TFT_fonts TOUCH_TFTx2 mbed

Fork of CANary_9341 by Tick Tock

Files at this revision

API Documentation at this revision

Comitter:
TickTock
Date:
Wed Jul 24 12:33:49 2013 +0000
Parent:
132:08748a67280a
Child:
134:ad243e4f1a17
Commit message:
Fixed display formatt problem

Changed in this revision

displayModes.cpp Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/displayModes.cpp	Wed Jul 24 12:29:22 2013 +0000
+++ b/displayModes.cpp	Wed Jul 24 12:33:49 2013 +0000
@@ -51,9 +51,9 @@
                 printf("%3.1f \n",convertDistance(minTripEff*useable_kWh));
                 tt.locate(280,120);            
                 printf("%4.1f \n",convertDistance(maxTripEff*useable_kWh));
-                tt.foreground(Yellow);
-                tt.set_font((unsigned char*) Arial28x28);
             }
+            tt.foreground(Yellow);
+            tt.set_font((unsigned char*) Arial28x28);
         }
         if(force||SOC_x10!=lSOC){
             tt.locate(200,10);
--- a/main.cpp	Wed Jul 24 12:29:22 2013 +0000
+++ b/main.cpp	Wed Jul 24 12:33:49 2013 +0000
@@ -20,7 +20,7 @@
 #include "displayModes.h"
 #include "TOUCH_TFTx2.h"
 
-char revStr[7] = "132"; // gg - revision string, max 6 characters
+char revStr[7] = "133"; // gg - revision string, max 6 characters
 
 FATFS USBdrive;
 LocalFileSystem local("local");