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 Muaiyd Al-Zandi

CAR.cpp

Committer:
muaiyd
Date:
2014-04-02
Revision:
0:68ce46607848
Child:
1:b409ad65466a

File content as of revision 0:68ce46607848:

#include "CAR.h"

void CAR::led2_thread(void const *args) {
    while (true) {
        led2 = !led2;
        Thread::wait(1000);
    }
}