More on Using Sensor Based Loops
Suppose that the following sequence of events has already occurred:
- You start your program running
- You press and release the button on the touch sensor 3 times
- Your program directs the NXT to check whether the touch sensor has been bumped
- Your program directs the NXT to say "Good morning"