Skip to main content

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()

Release files for piServo 2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for piServo 2.0
File Size Uploaded
piServo-2.0.tar.gz 2.1 kB Details

Release files / piServo-2.0.tar.gz

Download URL piServo-2.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
826f4107fe792959a7b502faeb32a083f0a7d2019a629f660f964c7f4e4c8a69
BLAKE2b-256 checksum
How to use checksums
5689d9f671bb73f843cf68e996c0888c5f906ddd9d1d24d24823a073889dff34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

Release history Release notifications | RSS feed

This release

2.0 This release

1 release file

1.9

1 release file

1.8

1 release file

1.7

1 release file

1.6

1 release file

1.5

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page