Control Servos with python !
Project description
Control servos with python !
Example to run a servo connected to pin 3 at angle 90:
import RPI.GPIO as GPIO
import piServo
servo = piServo.Servo(3)
servo.initServo()
servo.setAngle(90)
servo.stopServo()
GPIO.cleanup()
Use the stopServo() function at the end of your code or before GPIO.cleanup()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
piServo-2.0.tar.gz
(2.1 kB
view hashes)