![](/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
Diff: CAR.cpp
- Revision:
- 5:c20ab22e8431
- Parent:
- 4:952a2d814fb1
diff -r 952a2d814fb1 -r c20ab22e8431 CAR.cpp --- a/CAR.cpp Mon Apr 07 15:47:10 2014 +0000 +++ b/CAR.cpp Mon Apr 07 15:47:56 2014 +0000 @@ -78,10 +78,10 @@ mail->Mail_Average_Speed = Average_Speed; mail->Mail_Accelerometer_Value = Accelerometer_Value; mail->Mail_Brake_Value = Brake_Value; - mail->Counter = Element_Counter_W ; + //mail->Counter = Element_Counter_W ; mail_box.put(mail); - printf("\n %i £ \n\r",Element_Counter_W); - Element_Counter_W++; + // printf("\n %i £ \n\r",Element_Counter_W); + //Element_Counter_W++; Thread::wait(5000); CAR_MAIL_SEM.release(); }