Re: NXT PROBLEM
Posted: 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);
}]
S U