AVR Application Note 446 - Linear speed control of stepper motor, build with up to date compilers (2021) and tests on hardware.
Bulild using IAR EW for Microchip AVR 7.30.1
Previous build was using IAR IAR EWAAVR 4.11A (arround 2006)
STK500 board with ATmega328P, mounted on socket 3200A2, "RS232 Spare" interface used for serial communication with the PC.
Prolific USB to RS232 adaptor.
L298N board - stepper motor driver. L298N Dual H-Bridge Motor Driver (http://www.handsontec.com/dataspecs/L298N%20Motor%20Driver.pdf).
Wantai Stepper Motor, model 42BYGHW609, 1.7A, 4.6V (?), 1.8 deg/step (www.wantmotor.com).
Microchip Studio 7 (Version: 7.0.2542)
Compiler XC8 v2.32
Same as above.