I'm a beginner at nxt programming. I built a train drawbridge for my lego city. I thought, I would try and use the nxt technology to make the bridge go up and down as the train crossed over the bridge. I put a pressure switch at each end of the bridge. One to tell the bridge to go up and one to tell the bridge to go down. It seems so simple but has become so frustrating. If train comes from one direction each time no problem. But if the train comes from the other direction the commands get confused. I did two series of commands, each by themselves work just fine. If I put them together, since I'm using the same switches, the program gets confused. I hope someone can help me with my problem.