I created a small Teensy 3.2 program to control a stepper motor to implement a simple rotary scan table. The program uses a Pololu DRV8825 micro-stepping driver to give me fine control over angle increments. For all the gory details, see my 'Paynter's Palace' post at https://www.fpaynter.com/2020/05/teensy-nema-17-stepper-motor-rotary-scanner-program/.
As noted in the post, the program is also available on my GitHub site at https://github.com/paynterf/Teensy-DRV8825-Rotary-Scan-Table
Frank
As noted in the post, the program is also available on my GitHub site at https://github.com/paynterf/Teensy-DRV8825-Rotary-Scan-Table
Frank