*In this step, we are going to make a traffic light containing Red, Orange, and Green lights. The traffic light stays in the Red and Green states for 5 sec and takes 1 sec to change from Red to Green i.e Orange state. *First, drag all the components as shown, but before that do...
Now let's code it I have not used on start block but you can if you want to print any message. In the forever logic as you can see I have set different LEDs as per the demonstration statement First Turn on Red Light(Pin 4 - High) ...