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:
23:6681a38918c6
Parent:
21:56890c41ecf1
Child:
26:e0256fd314eb
--- a/Steering.h	Sat Oct 25 17:24:58 2014 +0000
+++ b/Steering.h	Thu Nov 13 23:45:12 2014 +0000
@@ -31,13 +31,11 @@
 #define AMS_BATTERY_STATE 0x30E          // AIRS 7 and 6 // Precharge 3
 
 Serial pc(USBTX,USBRX);
-CANBuffer CAN_Steering_Buffer(CAN1,MEDIUM);
-LPCDigitalOut CAN_Silent(p3_26, 0);
+CANBuffer CAN_Steering_Buffer(CAN1, MEDIUM, p3_26);
 
-extern "C" void mbed_reset();
 
 KS0108 display(p26, p21, p22, p23, p25, p24, p8, p7, p6, p5, p13, p14, p12, p11); 
-Ticker call_ledstream;
+//Ticker call_ledstream;
 
 LPCDigitalOut l1(p1_28,1);//    SW2
 LPCDigitalOut l2(p1_26,1);//    SW4
@@ -108,8 +106,7 @@
 char drive_status_request;
 char reset_body;
 
-CANMessage Txmsg_drive_status_request(0x501,&drive_status_request,1);
-CANMessage Txmsg_reset(0x502,&reset_body,1);
+
 
 Mutex ds_mutex;