You can do that, but I do not know how much current the motor needs and also whether the pins can handle the 'spikes'.... since it is an inductive load. You can sacrifice 4 or 6 pins in two groups. One group you set to Hihg, and the other one to LOW, and vice versa for the opposite direction.
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.
You can do that, but I do not know how much current the motor needs and also whether the pins can handle the 'spikes'.... since it is an inductive load. You can sacrifice 4 or 6 pins in two groups. One group you set to Hihg, and the other one to LOW, and vice versa for the opposite direction.