![](/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: main.cpp
- Revision:
- 0:68ce46607848
- Child:
- 1:b409ad65466a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Apr 02 09:13:57 2014 +0000 @@ -0,0 +1,13 @@ +#include "CAR.h" + +int main() { + Port.write_bit(1,BL_BIT); + CAR CAR1; + void const *args; + Thread thread(CAR1.led2_thread); + + while (true) { + led1 = !led1; + Thread::wait(100); + } +}