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