Python Library Examples
The Kinisi Motor Controller Python library, pykinisi, offers a variety of example scripts that demonstrate how to interact with the Kinisi Motor Controller. These examples are designed to help users quickly understand how to implement different features and functionalities.
Available Examples
- EncoderRead.py: Demonstrates how to read encoder values.
- GPIORead.py: Shows how to read the status of GPIO pins.
- GPIOToggle.py: Provides an example of toggling GPIO pins on and off.
- GPIOWrite.py: Illustrates writing to GPIO pins.
- MotorControl.py: Controls a single motor using the Kinisi Motor Controller.
- MotorControlAll.py: Shows how to control multiple motors simultaneously.
- MotorVelocityController.py: Implements velocity control for a motor.
- PlatformOdometry.py: Demonstrates odometry reading and processing.
- PlatformPWM.py: Controls PWM outputs on the platform.
- PlatformVelocityController.py: Implements velocity control at the platform level.
- StatusLEDToggle.py: Toggles the status LED on the motor controller.
Accessing the Examples
These examples can be found in the examples directory of the pykinisi GitHub repository.
To get started with the pykinisi Python package, visit the PyPI page for pykinisi where you can install the package and explore its features.
For more detailed documentation, code, and further examples, you can also visit the GitHub repository.