tmcm-lib-py:TMCM-Lib – Python的Trinamic模块库

时间:2024-03-08 00:27:36
【文件属性】:

文件名称:tmcm-lib-py:TMCM-Lib – Python的Trinamic模块库

文件大小:23KB

文件格式:ZIP

更新时间:2024-03-08 00:27:36

trinamic stepper-motor-control tmcm tmcl Python

TMCM-Lib –用于Python的Trinamic模块库 该项目旨在通过Trinamic和TMCL固件为TMCM步进电机控制器提供一个干净的高级接口。 它目前仅支持模块TMCM-3110,但其他模块应该相当容易集成。 例子 配置中 from tmcm_lib import Port , Module # Constructs the port to which the module is connected. port = Port ( 'COM1' ) # Constructs the module connected to the port. module = Module . construct ( port ) # Sets the activity of the limit switches of the module (True = high, False = low).


【文件预览】:
tmcm-lib-py-master
----setup.py(428B)
----.gitignore(45B)
----tmcm_lib()
--------motor.py(35KB)
--------switch.py(3KB)
--------__init__.py(262B)
--------motor_union.py(4KB)
--------module.py(18KB)
--------port.py(1KB)
--------direction.py(274B)
--------tmcm_3110()
--------exceptions.py(1KB)
----Pipfile.lock(770B)
----README.md(3KB)
----tests()
--------environment.py(2KB)
--------test_motor.py(16KB)
--------test_module_tmcm_3110.py(434B)
--------test_motor_union.py(7KB)
--------test_module.py(3KB)
----Pipfile(153B)

网友评论