Hi, i want to control a traffic light in that way:
Firstly i have to say that orange colour is when leds green and red are ON at same time.
At first place traffic light will be with green led ON. Then, when someone press the botton S2 of the launchpad (P1.1), green led blinks with a period of 1/8 second. After one second, traffic light change its colour to orange without blinking (as i said before both green and red are ON now) during 2 seconds. After that, traffic light change its colour to...
MSP430 - Traffic light with a buzzer
Firstly i have to say that orange colour is when leds green and red are ON at same time.
At first place traffic light will be with green led ON. Then, when someone press the botton S2 of the launchpad (P1.1), green led blinks with a period of 1/8 second. After one second, traffic light change its colour to orange without blinking (as i said before both green and red are ON now) during 2 seconds. After that, traffic light change its colour to...
MSP430 - Traffic light with a buzzer