Slider stepper motor: #define SLIDER_STEP_PIN 2 //D2 #define SLIDER_DIR_PIN 3 //D3 Camera stepper motor: #define CAMERA_STEP_PIN 4 //D4 #define CAMERA_DIR_PIN 5 //D5 Limit switches: #define HOME_STOP_PIN 9 //D9 #define END_STOP_PIN 14 //Not used by mike's board yet Mode button: #define VIDEO_MODE_PIN 6 //D6 #define LAPSE_MODE_PIN 7 //D7 Prog button: #define GO_PIN 8 //D8 Potensiometers: #define SPEED_POT_PIN 1 //A1 #define CAMERA_POT_PIN 2 //A2 Changes: The Jitter setting in config.hpp from 2 to 5 accel speed /*** Slider constants *******************************************************/ #define SLIDER_STEP_PIN 2 //D2 #define SLIDER_DIR_PIN 3 //D3 //In Steps/second #define SLIDER_MAX_ACCEL 4500.0 ((- 4000)) #define SLIDER_MAX_SPEED 2000.0 ((- 8000)) //Max possible position is 2,147,483,647. //Can be a function like steps/inch * inches, but recommend parens () #define SLIDER_MAX_POSITION (-400 * 9) ((-400 * 32)) #define MAX_HOMING_SPEED 500 /****************************************************************************/ /*** Camera constants *******************************************************/ #define CAMERA_STEP_PIN 4 //D4 #define CAMERA_DIR_PIN 5 //D5 //in Steps/second #define CAMERA_MAX_ACCEL 4500.0 #define CAMERA_MAX_SPEED 2000.0 //Max possible position is 2,147,483,647 //Should probably be 1/4 steps required for a 360 degree camera revolution #define CAMERA_MAX_POSITION 170 (- 1000) //Raise this number until the jitter at adjustment goes away #define MIN_CAMERA_JITTER 5 /***************************************