{{ ************************************ * demo_servo32_fixed * * 2008 Michael St.Onge * ************************************ Goal: Make an servo rotate to a fixed position and hold it. Purpose: This will demonstrate the use of the "servo32" object by Parallax. }} CON _clkmode = xtal1 + pll16x _xinfreq = 5_000_000 'Note Clock Speed for your setup!! pinServo = 0 'Servo pin number VAR OBJ SERVO : "Servo32v3" PUB Servo32_DEMO | temp SERVO.Start 'Start Servo handler repeat SERVO.Set(pinServo,1500) 'Set servo to desired position (position muse be between the range of 1000 to 2000)