![](/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@8:6e55db96c11c, 2014-04-09 (annotated)
- Committer:
- muaiyd
- Date:
- Wed Apr 09 09:41:30 2014 +0000
- Revision:
- 8:6e55db96c11c
- Parent:
- 7:a92da438d06c
- Child:
- 9:d86a6b8cdfa4
Finished all the tasks except the saving in file
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
muaiyd | 0:68ce46607848 | 1 | #ifndef CAR_H |
muaiyd | 0:68ce46607848 | 2 | #define CAR_H |
muaiyd | 0:68ce46607848 | 3 | #include "rtos.h" |
muaiyd | 0:68ce46607848 | 4 | #include "CommonVariable.h" |
muaiyd | 0:68ce46607848 | 5 | |
muaiyd | 0:68ce46607848 | 6 | class CAR { |
muaiyd | 0:68ce46607848 | 7 | public: |
muaiyd | 1:b409ad65466a | 8 | CAR(); |
muaiyd | 1:b409ad65466a | 9 | static void SAVE_ODO(float value); |
muaiyd | 1:b409ad65466a | 10 | static float GET_ODO(); |
muaiyd | 1:b409ad65466a | 11 | static void Accelero_Brake_Read(void const *args); |
muaiyd | 1:b409ad65466a | 12 | static void Average_Speed_Measure(void const *args); |
muaiyd | 1:b409ad65466a | 13 | static void Average_Speed_Show(void const *args); |
muaiyd | 1:b409ad65466a | 14 | static void OverSpeed(void const *args); |
muaiyd | 7:a92da438d06c | 15 | static void Odo_Show_Indicator_Switch_Read(void const *args); |
muaiyd | 1:b409ad65466a | 16 | static void SEND_CAR_VALUES (void const *args); |
muaiyd | 1:b409ad65466a | 17 | static void DUMP_CAR_VALUES_En (void const *args); |
muaiyd | 1:b409ad65466a | 18 | static void DUMP_CAR_VALUES(); |
muaiyd | 7:a92da438d06c | 19 | static void Side_Light_Flash(void const *args); |
muaiyd | 8:6e55db96c11c | 20 | static void Side_Light(void const *args); |
muaiyd | 0:68ce46607848 | 21 | private: |
muaiyd | 0:68ce46607848 | 22 | |
muaiyd | 0:68ce46607848 | 23 | }; |
muaiyd | 0:68ce46607848 | 24 | |
muaiyd | 0:68ce46607848 | 25 | #endif |