Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
jmelis edited this page Mar 7, 2011 · 6 revisions

Arduino Serial Protocol

  • INIT (OUT): The Arduino prints this message to the serial port when started.
  • START (IN): Starts the motor. Resets the step counter.
  • STOP (IN/OUT): Stops the motor. The Arduino prints to the serial port the number of steps it has taken.
  • FORWARD (IN): Sets the motor to turn forward.
  • BACKWARD (IN): Sets the motor to turn backward.
  • N (IN): Where 'N' is a Number > 300. Sets the new delay between each step of the motor. The lower the, faster. Default: 1000.

Useful links

Clone this wiki locally