I am new to Mindstorms (but in my day job I am a programmer).
I want to make my robot do one thing if the touch sensor on port 1 is pressed, and do something different if the touch sensor on port 2 is pressed.
If nothing is pressed, I want it to keep driving straight ahead.
I can see how to tell it to drive along until one of the sensors is triggered. I.e. "drive along until sensor 1 is pressed", but I can't see how to say "... until either sensor 1 or sensor 2 is pressed".
In answer, it would be great if you could:
- tell me the blocks to use
- give me a screenshot of a program
- link to a program which has a similar effect