Let me preface with I am very new to all of this and have only been doing it for roughly three weeks. Anyways, for a class I need to just write a Pseudo-Code for two traffic lights at an intersection. Simple enough but I wanted to write code for it. The issue is initially the first green light is supposed to be on for 30 seconds while at the same time the second red light is supposed to be on for 40 seconds. Then the yellows each for ten seconds and finally the first red for 40 seconds and the second green for 30. The Pseudo-Code was easy enough but what I am struggling with is getting the lights to turn on together but have separate duration. I'm not sure if I am over complicating it or its just a lack of knowledge. I am not looking for someone to write the code for me, all I am looking for is help in finding out if what I am trying to do is possible with PBASIC 2.5 or at least the right place to look in the help book.