I don't know why, but when I remove the while(i!=3)i++; line stepper stops working. Change interval to 2-3-4 doesn't help. I have tried to change interval from 1 to 100 but no effect.
Also change polarity didn't do any effect; Leds and motion is the same
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.
Hi @Gordon,
I don't know why, but when I remove the
while(i!=3)i++;
line stepper stops working. Change interval to 2-3-4 doesn't help. I have tried to change interval from 1 to 100 but no effect.Also change polarity didn't do any effect; Leds and motion is the same