NXT PROBLEM

Discussion specific to projects ideas and support.
naneczek
Posts: 28
Joined: 08 Jun 2013, 10:09

Re: NXT PROBLEM

Post by naneczek »

Code: Select all

task main()
{
int tab[100], y, i;

do {
    SetSensorLowspeed(IN_4);
      for(int i=0; i<100; i++)
          {
          tab[i]=SensorUS(IN_4);
          }
      ClearScreen();

      for(int i=0; i<100; ++i)
          {
          y=tab[i];
          PointOut(i, y/4, DRAW_OPT_NORMAL);
          }
      
} while (true);
}]
This one works perfectly, but you doc helmut didn't even help me with this. Sorry but you are useless. I missed only two brackets. Topic closed.

S U
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest