Skip to content

Instantly share code, notes, and snippets.

#include <AccelStepper.h>
//AccelStepper stepper
#define BUTTON_PIN 8
#define MOTOR_DIRECTION_PIN 2
#define MOTOR_STEPPER_PIN 3
#define MOTOR_ACCELERATION 80000
#define SENSOR_1 A0
#define SENSOR_2 A5
//set up the accelStepper intance
#!/bin/sh
SHORTCUT="[Desktop Entry]
Name=Sublime Text 2
Comment=Edit text files
Exec=/usr/local/sublime-text-2/sublime_text
Icon=/usr/local/sublime-text-2/Icon/128x128/sublime_text.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Utility;TextEditor;"