-
Need a GM6020 motor set to run at speed mode when using PWM.
-
Need a dev board, J-Link, micro USB cable.
-
Motor will only move at fixed speed but different directions.
-
Compile the code.
-
Download the code to the development board(s).
-
Use a micro USB cable to connect the development board and your computer.
-
Identify the COM/serial port that identifies the development board. On Windows, you can use Device Manager.
-
Connect to the dev board via USB using Putty.
Set the communication parameters:
-
Type '1': clockwise rotation.
-
Type '2': anti-clockwise rotation.
-
Everything else: stop rotation.
Happy hacking!