Dual CANbus monitor and instrumentation cluster

Dependencies:   SPI_TFTx2 TFT_fonts TOUCH_TFTx2 beep mbed

Fork of CANary by Tick Tock

Revision:
23:cd03f9c3395e
Parent:
22:a43df3905863
Child:
25:ddf0ec209f03
--- a/utility.h	Mon Mar 11 06:23:00 2013 +0000
+++ b/utility.h	Thu Mar 14 04:41:11 2013 +0000
@@ -3,6 +3,7 @@
 #include "mbed.h"
 #include "CAN.h"
 #include "common.h"
+#include "TOUCH_TFTx2.h"
 
 extern Timer timer;
 extern volatile int secsNoMsg;
@@ -24,6 +25,7 @@
 extern CAN can1,can2;
 extern DigitalOut can1SleepMode,can2SleepMode;
 extern bool pollCP;
+extern TOUCH_TFTx2 tt;
 
 extern "C" {
     void mbed_reset();
@@ -41,7 +43,8 @@
     void recieve2();
     unsigned char buttonX(unsigned short X, unsigned char columns);
     unsigned char buttonY(unsigned short Y,unsigned char rows);
-}
+    void saveConfig();
+    void readConfig();}
 
 //LEAF OBD
 //1: