10
MotorDirectionSet
(
0b1100
);
delay
(
4
);
MotorDirectionSet
(
0b1000
);
delay
(
4
);
MotorDirectionSet
(
0b1001
);
delay
(
4
);
}
}
This connected 4-wire stepper will rotate; you can adjust the rotation speed or step number in your Arduino
program. You can also use some other stepper libraries to control it. For all the demo code please refer
2. Control the Stepper using the I2C motor Driver V1.3 on-chip Atmega8L.
as an example, The hardware installation as show below:
Note: