You could give a standard DC motor a small pulse of voltage to make it rotate but it wouldn't be possible to accurately rotate it by the same amount each time
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
If you want a motor to rotate by a fixed amount, you're best off using a stepper motor. Loads of info here: http://www.espruino.com/Stepper+Motors
You could give a standard DC motor a small pulse of voltage to make it rotate but it wouldn't be possible to accurately rotate it by the same amount each time