Go Down

Topic: Stepper Motor - Still not Turning (Read 865 times) previous topic - next topic

TomGeorge

#15
Apr 19, 2020, 03:34 pm Last Edit: Apr 19, 2020, 03:37 pm by TomGeorge
Hi,
If you have you board in the IDE selected as NodeMCU.

Have you tried;

Code: [Select]
Stepper myStepper(stepsPerRevolution, 5, 6, 7, 8);

I have never porgrammed a NodeMCU, but looking at the PCB designators, I would be using them.
I only use the GPIO numbers is if I am programming a ESP32 as the GPIO pin designators are printed on the PCB

Tom... :)
Everything runs on smoke, let the smoke out, it stops running....

Go Up