I am using Tiva C series TM4C123G LaunchPad Evaluation Kit to control direction of stepper motor depending upon UART signal. Input "12" for clockwise direction and input "13" for anticlockwise.
1) In windows,
When I directly write to the port using command prompt . echo 12> com3 and echo 13>com3 , stepper motor rotates perfectly.
2)In Linux,
Kit is detected as "/dev/ttyACM0" . When I am directly trying to write to device using " echo 12> /dev/ttyACM0" .Motordoes not spin.
Any suggestions why motor is not running in LInux? Is I am missing something?
Thanks,
Tushar