Quiz+4-23

Quiz 4-23:

Write a program that will wait until the touch sensor is released 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) == 1) { motor[motorB] = 0; Loop till the Touch Sensor is Released motor[motorC] = 0; } motor[motorB] = 50; Now go forward little bot! motor[motorC] = 50; wait1Msec(3750); }