Shop OBEX P1 Docs P2 Docs Learn Events
About the OBJ_Servo32v8's delay range... — Parallax Forums

About the OBJ_Servo32v8's delay range...

kevinspacekevinspace Posts: 56
edited 2011-05-18 06:47 in Propeller 1
Hello, everybody~
I used the OBJ "Servo32v8" to control the servos.
And here is the demo program :
CON
    _clkmode = xtal1 + pll16x                           
    _xinfreq = 5_000_000
    ServoCh1 = 0     
 
OBJ
    SERVO : "Servo32v8.spin"
 
PUB Servo32_DEMO
    SERVO.Start                
    SERVO.Ramp  
 
 [I] ' Set(Pin, Width)          [/I]
    SERVO.Set(ServoCh1,1500)    [I] 'Move Servo to Center               [/I]                                   
 
 [I] 'SetRamp ( Pin, Width, [B]Delay[/B] )  <-- [B]100 = 1 sec 6000 = 1min     [/B][/I]
   SERVO.SetRamp ( ServoCh1, 2000, [B]200 [/B])         

Does anyone knows the range ofDelay ? What's the value of maximum and minimum ?

Thanks a lot~
Sign In or Register to comment.