Skip to content

Instantly share code, notes, and snippets.

View mechapro's full-sized avatar

mechapro

View GitHub Profile
@mechapro
mechapro / accelstepper_tinystep.ino
Last active August 29, 2015 14:00
Example of driving a stepper motor using an Adruino, the AccelStepper library for ramping and the tinystep II stepper motor controller available at mechapro.de
// Example of driving a stepper motor using
// an Adruino and the AccelStepper library
// via the tinystep II stepper motor controller
// available from mechapro.de
#include <AccelStepper.h>
#include <stdint.h>
// pin assignment
const uint8_t stepPin = 2;