![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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
CAR.h
- Committer:
- muaiyd
- Date:
- 2014-05-06
- Revision:
- 12:8eb2c1cccee6
- Parent:
- 9:d86a6b8cdfa4
- Child:
- 13:e5b22bfbe67b
File content as of revision 12:8eb2c1cccee6:
#ifndef CAR_H #define CAR_H #include "rtos.h" #include "CommonVariable.h" typedef struct { uint8_t Mail_Average_Speed; float Mail_Accelerometer_Value; float Mail_Brake_Value; int Counter; } CAR_MAIL; class CAR { public: CAR(); static void SAVE_ODO(float value); static float GET_ODO(); static void Car_Simulation(void const *args); static uint8_t Get_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 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: }; #endif