PyTrinamic is a Python package to set up and control TRINAMIC modules, evaluation boards and ICs via serial, USB or CAN interfaces.
The package is intended to automate tasks that are typically done manually with TRINAMICs TMCL-IDE.
Use pip to install PyTrinamic.
pip install pytrinamic
Please have a look at the code examples on GitHub.
Version 0.2.0 of PyTrinamic introduces several changes to the API. For those who want to convert code that uses an older version of PyTrinamic, we wrote a short migration guide.
All previous versions of PyTrinamic will still be available on PyPI and can be installed via: pip install pytrinamic==0.1.27
.
Pull requests are welcome. For any major changes or questions regarding implementation, please open an issue to ask or discuss first.
PyTrinamic is licensed under the MIT License.