Skip to main content

ICSServo: ICS serial servo driver library

Project description

# icsservo

![Travis (.org)](
![PyPI - License](

ICSServo: ICS serial servo driver library

## Install

pip install icsservo

## Serial port setup

### Raspberry Pi 3 B

# Disable Bluetooth and Enable PL011 uart.
# MiniUART cannot be used because it does not support parity.
echo 'dtoverlay=pi3-miniuart-bt' | sudo tee -a /boot/config.txt

# Reboot to apply changes
sudo reboot

## Usage

from icsservo import IOProvider

with IOProvider(device="/dev/serial0", en_idx=23) as io:
servo = io.servo(1) # Servo with ID 1
servo.set_position(3.14 / 2)

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

icsservo-0.2.tar.gz (591.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page