NXT PROBLEM

Discussion specific to projects ideas and support.

Re: NXT PROBLEM

Postby naneczek » 29 Jun 2013, 08:54

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
naneczek
 
Posts: 28
Joined: 08 Jun 2013, 10:09

Previous

Return to Mindstorms Projects

Who is online

Users browsing this forum: No registered users and 24 guests

cron