Penn Electric Racing / Mbed 2 deprecated REVO_Updated_Steering

Dependencies:   CANBuffer KS0108_fork mbed-rtos mbed CAN Addresses

Fork of REVO_Updated_Steering by Penn Electric

Files at this revision

API Documentation at this revision

Comitter:
tmccurbin
Date:
Sat Oct 18 16:48:34 2014 +0000
Parent:
9:e946cafa3cae
Child:
11:0f02bb177410
Commit message:
Added Direct Write to Reset

Changed in this revision

CANBuffer.lib Show annotated file Show diff for this revision Revisions of this file
Steering.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/CANBuffer.lib	Sat Oct 18 16:36:44 2014 +0000
+++ b/CANBuffer.lib	Sat Oct 18 16:48:34 2014 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/Penn-Electric-Racing/code/CANBuffer/#fbfd7c8a93b5
+http://developer.mbed.org/teams/Penn-Electric-Racing/code/CANBuffer/#110f268af846
--- a/Steering.cpp	Sat Oct 18 16:36:44 2014 +0000
+++ b/Steering.cpp	Sat Oct 18 16:48:34 2014 +0000
@@ -227,11 +227,13 @@
 
 void reset()
 {
-    display.ClearScreen();
-    display.SelectFont(Arial12,BLACK,ReadData);
-    display.GotoXY(16,16);
-    display.PrintString(" RESET INITIATED");
-    printf("Reset Initiated\n\r");
+    txWriteDirect(Txmsg_reset);
+    
+//    display.ClearScreen();
+//    display.SelectFont(Arial12,BLACK,ReadData);
+//    display.GotoXY(16,16);
+//    display.PrintString(" RESET INITIATED");
+//    printf("Reset Initiated\n\r");
     
     return;
 }