Quiz+4-22

Quiz 4-22:

Write a program that will wait until the touch sensor is touched and travel forward for 3.75 seconds. No there are not functions in this task and I expect at least two lines of comments.

task main { while (SensorValue(Touch1) == 0) { motor[motorB] = 0; Loop till the Touch Sensor is Touched motor[motorC] = 0; } motor[motorB] = 50; Now go forward little bot! motor[motorC] = 50; wait1Msec(3750); }