Skip to content

Instantly share code, notes, and snippets.

View nmoroze's full-sized avatar
⛷️

Noah Moroze nmoroze

⛷️
View GitHub Profile
#include <Stepper.h>
const int stepsPerRevolution = 2048; // change this to fit the number of steps per revolution
const int rolePerMinute = 15; // Adjustable range of 28BYJ-48 stepper is 0~17 rpm
const int STEP_PIN = 2;
const int DIR_PIN = 3;
volatile int steps = 0;

Keybase proof

I hereby claim:

  • I am nmoroze on github.
  • I am nmoroze (https://keybase.io/nmoroze) on keybase.
  • I have a public key ASDVIOsPkU5EYz0yNpGibPlsxUo8bj7szWMUv_pUQc3Bfgo

To claim this, I am signing this object: