Quiz+4-1

Quiz 4-1:

Write a program that would read a sonic sensor (SONIC1) and continually display the distance on the robots screen.

 int L;

 task main  {  while(1)  {  L = SensorValue(SONIC1);  nxtDisplayCenteredBigTextLine(3,"%d",L);  }  }

// Now, was that so bad?