This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Teensy LC sketch for controlling a stepper motor. | |
Reads comma-separate commands over serial. Sends back number of steps taken. | |
Commands are of the form: | |
step,300,800 -> stepper should move 300 sixteenth-steps forward at 800 steps per second | |
step,-124,100 -> stepper should move 124 sixteenth-steps backward at 100 steps per second | |
*/ |