hi all....
I'm hoping someone can shed some light onto a project I'm working on.
I have an Mdrive 23 step motor that works with a serial terminal.
The whole serial terminal is new to me and I'm confused by what it means.
I have been able to make the motor work with screen program.
Now I need to be able to control it with Python and I started with the
PySerial module.
So far I've been able to connect to the motor but no commands have had any effect.
import serial
ser = serial.Serial('/dev/ttyUSB0', 19200)
ser.isOpen() # returns True
ser.write('ma 100000\r\n') # does nothing...
ser.inWaiting() # returns 0
ser.close()
I could use some help here...I'm at a lose...
TIA !
dw