![](/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:
- 6:5037779f6a55
- Parent:
- 1:b409ad65466a
- Child:
- 7:a92da438d06c
diff -r b409ad65466a -r 5037779f6a55 CAR.cpp --- a/CAR.cpp Mon Apr 07 15:19:37 2014 +0000 +++ b/CAR.cpp Mon Apr 07 15:50:48 2014 +0000 @@ -90,7 +90,7 @@ mail_box.put(mail); printf("\n %i £ \n\r",Element_Counter_W); Element_Counter_W++; - Thread::wait(1000); + Thread::wait(5000); CAR_MAIL_SEM.release(); } } @@ -101,7 +101,7 @@ while (Element_Counter_W > Element_Counter_R) DUMP_CAR_VALUES(); CAR_MAIL_SEM.release(); - Thread::wait(5000); + Thread::wait(20000); } } void CAR::DUMP_CAR_VALUES () {