This is a python library for controlling the Moons' motor through the serial port.
Project description
Moons Motor
This is a python library for control moons motor through serial port.
Compatibility
Now only support Windows.
Installing
Install through pip
python -m pip install moons_motor
Usage
from motor import MoonsStepper, StepperModules
import simulate
from time import sleep
motor = MoonsStepper(StepperModules.STM17S_3RN, "0403", "6001", "TESTA")
MoonsStepper.list_all_ports()
motor.connect()
motor.start_jog("", 10)
sleep(5)
motor.stop_jog()
Tested Motor
- STM17S-3RN
Reference
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
moons_motor-0.0.5.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for moons_motor-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11c8c50c8fafdc5bacb0b945adf843b1ab3defc5ca104b7595947e6e913d68cf |
|
MD5 | 71827c688777731e3d285c6059084b29 |
|
BLAKE2b-256 | 2016953eec5b9b5b5bde275c136b016cf6144ec3b618bf154874a346542ce6e0 |