Arduino 教程之:步进电机控制

/*
Stepper Motor Control – one revolution

步进电机控制 – 一圈

This program drives a unipolar or bipolar stepper motor.
The motor is attached to digital pins 8 – 11 of the Arduino.

这个程序驱动单极或双极步进电机。电机连接到 Arduino 的数字引脚 8 – 11。

The motor should revolve one revolution in one direction, then
one revolution in the other direction.

电机应朝一个方向旋转一圈,然后朝相反方向旋转一圈。

Created 11 Mar. 2007
Modified 30 Nov. 2009
by Tom Igoe

*/
继续阅读“Arduino 教程之:步进电机控制”