• We have configured four switches to four leds on mbed board to show car movement .• If switch1(p5) is equal to 1,i,e when car moves forward the four leds on the mbed board will glow .• If switch2(p6) is equal to 1.i,e when car moves backward the four leds will blink continuously (toggle).• If switch3(p7) is equal to 1.i,e when car takes left turn the four leds will glow left to right continuously .• If switch4(p8) is equal to 1.i,e when car takes right turn the four leds will glow right to lef