Skip to main content

Control Servos with python !

Project description

# RPI-Servo Control servos with python !

Example to run a servo connected to pin 3 and angle 90:

import RPI.GPIO as GPIO import piServo servo = piServo.Servo(3) servo.initServo() servo.setAngle(90) servo.stopServo() GPIO.cleanup()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

piServo-1.1.tar.gz (1.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page