;**************************************************** ;Nano Driver Servo Demo Code ;Authors: Dale Kubin & Nathan Scherdin ;Code demos how to control a servo position ;**************************************************** ;The servo command uses 2 values. First value is position. ;Second value is time / pulse. Meaning how many of the same ;pulse to send the servo allowing it time to move to the ;given postion. If time value is to low and a new position is ;given the servo will not have enough time to make it to ;the previous position. Each servo is different and ranges ;will vary. This was tested with HiTec HS-5645MG Main Servo p8,700,40 ;Full swing in one direction Pause 17 Servo p8,-700,40 ;Full swing in opposite direction Pause 17 Goto Main