yeahh

hab gerade noch mal google angeschmissen und in nem anderen forum folgenedes programm gefunden
$regfile = "m32def.dat"
$framesize = 42
$swstack = 32
$hwstack = 32

$crystal = 8000000
$baud = 19200

Dim Sw As Byte

Config Pina.2 = Output
Enable Interrupts

Config Servos = 1 , Servo1 = Porta.2 , Reload = 10
Servo(1) = 100

For Sw = 40 To 140
Servo(1) = Sw
Waitms 100
Next Sw

For Sw = 140 To 40 Step -1
Servo(1) = Sw
Waitms 100
Next Sw


End
hiermit geht alles tadellos werd mir die kommandos jetz anpassen,trotzdem vielen vielen dank also wenn jemand mal probleme hat oben ist die lösung