This is car control simulation by using Mbed controller and real time operating system.

Dependencies:   MCP23017 Servo WattBob_TextLCD mbed-rtos mbed

Fork of Ass3 by Muaiyd Al-Zandi

Revision:
13:e5b22bfbe67b
Parent:
12:8eb2c1cccee6
--- a/main.cpp	Tue May 06 09:49:08 2014 +0000
+++ b/main.cpp	Wed May 07 10:25:50 2014 +0000
@@ -1,9 +1,12 @@
 /*
+By Muaiyd Hameed Mohammed Al-Zandi
+*****************************
+*        MAIN.CPP           *
+*****************************
 Small software to simulate a car and show the Average speed and the odometer
 on the LCD. Also, it saves the average speed and accelerometer and brake value
-in a special queue. This queue is sumped into a file every 20 second.
-Author : Muaiyd Hameed Al-Zandi
-Date   : 09/04/2014 
+in a special queue. This queue is dumped into a file every 20 second.
+ 
 */
 #include "CAR.h"
 
@@ -12,14 +15,12 @@
     CAR car1;
     //Define the multy threat function
     Thread Car_Simulation_Thread(car1.Car_Simulation);
-    
     Thread Average_Speed_Measure_Thread(car1.Average_Speed_Measure);
     Thread Average_Speed_Show_Thread(car1.Average_Speed_Show);
     Thread OverSpeed_Thread(car1.OverSpeed);
-    Thread ODO_And_Indicator_Switch_Read_Thread(car1.Odo_Show_Indicator_Switch_Read);
+    Thread ODO_Thread(car1.Odo_Show);
     Thread SEND_CAR_VALUES_Thread(car1.SEND_CAR_VALUES);
     Thread DUMP_CAR_VALUES_Thread(car1.DUMP_CAR_VALUES_En);
-    
     Thread Side_Light_Flash_Thread(car1.Side_Light_Flash);
     Thread Side_Light_Thread(car1.Side_Light);