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:
palimar
Date:
Sat Oct 04 17:35:15 2014 +0000
Parent:
3:fcec60c7f2c6
Child:
5:05f8a36b5cdd
Child:
6:99e754ac888f
Commit message:
Added some comments

Changed in this revision

Steering.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Steering.cpp	Sat Oct 04 17:14:32 2014 +0000
+++ b/Steering.cpp	Sat Oct 04 17:35:15 2014 +0000
@@ -252,14 +252,16 @@
 
 int main()
 {
+    // Init all
     Init();
-    //int flag=1;
     wait(0.1);
+    
+    //Init Display
     display.GotoXY(10,16);
     display.SelectFont(Arial_14,BLACK,ReadData);
     display.PrintString("Penn Electric Racing");
-    display.GotoXY(20,32); 
-    display.PrintString("Live The Dream");
+
+    // Start to read buttons on main thread
     screen=0;
     wait(1);