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.6.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for moons_motor-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9ecf40c662989793f7afef23ce62eb3d5551d44b7cf80c80a6c8cd4ab9f028f |
|
MD5 | 518584f9c6a0b3bd66ee083a75bb8eb7 |
|
BLAKE2b-256 | 1e86452b5090d1d2369a5e2080b70367a4b9c79eb129ae92afc139a3d9aabfff |