Hi,
I am trying to control stepper motor using Tiva C series TM4C123GH6PM LaunchPad Evaluation Kit.
Kit is connected to Computer using USB Cable(serial communication).
I am trying to rotate motor clockwise if input "12" is sent to serial port and anticlockwise when "13" is sent to serial port.
In windows
Kit is detected as com3. When I send "12" to serial port(com 3) by command : echo 12 > com3 , motor rotates clockwise as expected.
In Linux
Kit is detected as /dev/ttyACM0 . When I send "12" to serial port(/dev/ttyACM0) by command : echo 12 > /dev/ttyACM0 , motor does not spin.
Is I am missing something.
Thanks,
Tushar