@Ducky The idea of the L293D is that the motor can have both sides connected to the controller - so you can run the motor in reverse.
@jacklee that circuit and code looks absolutely fine to me. Is the motor rated for 5v, or some higher voltage? Perhaps you could check with a meter and see if one side of the motor really is at 5v, and the other is at gnd?
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.
@Ducky The idea of the L293D is that the motor can have both sides connected to the controller - so you can run the motor in reverse.
@jacklee that circuit and code looks absolutely fine to me. Is the motor rated for 5v, or some higher voltage? Perhaps you could check with a meter and see if one side of the motor really is at 5v, and the other is at gnd?