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.4.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for moons_motor-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe6ea476b83a30edf6068b3ba854191a3f05f44d93de59111f228bb259ad6c86 |
|
MD5 | 4732b730d0f9eff106d6d1aa107771c1 |
|
BLAKE2b-256 | e0b370f4d16d682b6d1841978ddf13a03eb61b22f884803e219e91303f2f4c78 |