Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagec#
firstline65
titleStop Function
linenumberstrue
        private void button_Stop_Click(object sender, EventArgs e)
        {
            /* Stop the motor with the ] command. 
             * We assume a single motor in this example so use the .1 ID
             * All commands must be appended with a carriage return
             */

            serialPort.Write("].1\r");
        }

Attachments

Attachments
previewfalse
uploadfalse
oldfalse
patterns*.zip