Help with step motor and L293D

af1812:
In the step line, I entered 45, expecting it to turn 45 degrees,

45 is the number of steps. How many degrees depends on how many steps there are in a full rotation.

...R
Stepper Motor Basics
Simple Stepper Code