Hallo

Genau!

So sieht zB der Quelltext aus:
Code:
...
int x;
 for(x=0; x<18; x++)
     {
     Servo(33);
}
...
void Servo(int pos) 
{

   StatusLED(GREEN);     
      Sleep(pos);
     StatusLED(OFF);
      Sleep(255);Sleep(255);Sleep(255); Sleep(255);Sleep(255);Sleep(255);
   StatusLED(GREEN);       
      Sleep(pos);
      StatusLED(OFF);
      Sleep(255);Sleep(255);Sleep(255); Sleep(255);Sleep(255);Sleep(255);
    
}
Damit kann man dann zB sowas hier machn:

https://www.roboternetz.de/phpBB2/viewtopic.php?t=53861

Gruß Thund3r