The Code Repository for the REV0 Steering Wheel.

Dependencies:   CANBuffer KS0108_fork mbed-rtos mbed CAN Addresses

Fork of REVO_Updated_Steering by Penn Electric

Revision:
45:aea289639d6b
Parent:
44:80d821b5a0e7
diff -r 80d821b5a0e7 -r aea289639d6b Steering.cpp
--- a/Steering.cpp	Thu May 14 18:49:05 2015 +0000
+++ b/Steering.cpp	Fri May 15 04:14:09 2015 +0000
@@ -107,8 +107,8 @@
             CANFloat = GetFloat;
             LEDBar = (CANFloat/85.0)*(2.6/3.3);
         }
-
-        switch (CurrScreen) {
+        memcpy(message_data[Rxmsg.id],Rxmsg.data,8);
+        /*switch (CurrScreen) {
             case HOME_SCREEN:
                 switch (Rxmsg.id) {
 
@@ -125,7 +125,7 @@
                                 sprintf(BrkPedalBuffer,"%3.2d", int(CANFloat2*100));
                                 display.PutString(1,60,BrkPedalBuffer);
                             }
-                            break;*/
+                            break;
 
                     case SOC_TX_ID:
                         CANFloat = GetFloat;
@@ -400,7 +400,8 @@
                 break;
             default:
                 break;
-        }
+        }*/
+        
     }
 }