Skip to content

Instantly share code, notes, and snippets.

@omiq
omiq / ArduinoSpeedStepper.ino
Created October 25, 2018 00:31
Control a Stepper with Arduino and Potentiometer Speed Control
//Arduino stepper library
#include <Stepper.h>
// different steppers have different
// amount of steps to do a full
// turn of the wheel.
#define STEPS 32
// connections need to be done carefully