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.8.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for moons_motor-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb87c377cf8bad824c01ee6af7914e247ada4cb881383f185d6154b969253cdc |
|
MD5 | 647b08fb0b1ed83e962bad7df5d54249 |
|
BLAKE2b-256 | b3a123c4d3fe56cae5855e4f2afe1754903fe2735f363e3e8fb1224b2a35f2d4 |