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
Diff: CAR.h
- Revision:
- 13:e5b22bfbe67b
- Parent:
- 12:8eb2c1cccee6
--- a/CAR.h Tue May 06 09:49:08 2014 +0000 +++ b/CAR.h Wed May 07 10:25:50 2014 +0000 @@ -1,3 +1,6 @@ +/*********************************** +* CAR.h * +************************************/ #ifndef CAR_H #define CAR_H #include "rtos.h" @@ -17,18 +20,16 @@ static float GET_ODO(); static void Car_Simulation(void const *args); - static uint8_t Get_Speed(); - + static uint8_t Measure_Speed(); static void Average_Speed_Measure(void const *args); static void Average_Speed_Show(void const *args); static void OverSpeed(void const *args); - static void Odo_Show_Indicator_Switch_Read(void const *args); + static void Odo_Show(void const *args); static void SEND_CAR_VALUES (void const *args); static void DUMP_CAR_VALUES_En (void const *args); static void DUMP_CAR_VALUES(); static void Side_Light_Flash(void const *args); static void Side_Light(void const *args); - private: };