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:
- 4:952a2d814fb1
- Parent:
- 1:b409ad65466a
--- a/CAR.h Mon Apr 07 15:19:37 2014 +0000 +++ b/CAR.h Mon Apr 07 15:47:10 2014 +0000 @@ -18,6 +18,15 @@ static void DUMP_CAR_VALUES_En (void const *args); static void DUMP_CAR_VALUES(); private: + uint32_t Element_Counter_W ; + uint32_t Element_Counter_R ; + typedef struct { + uint8_t Mail_Average_Speed; + float Mail_Accelerometer_Value; + float Mail_Brake_Value; + uint32_t Counter; + } CAR_MAIL; +static Mail<CAR_MAIL, 100> mail_box; };