About the OBJ_Servo32v8's delay range...
kevinspace
Posts: 56
Hello, everybody~
I used the OBJ "Servo32v8" to control the servos.
And here is the demo program :
Does anyone knows the range ofDelay ? What's the value of maximum and minimum ?
Thanks a lot~
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~