mirror of
https://github.com/usatiuk/EggbotWireless.git
synced 2025-10-26 08:47:49 +01:00
26 lines
504 B
C
26 lines
504 B
C
#include <Arduino.h>
|
|
#include "Pen.h"
|
|
#include "Stepper.h"
|
|
#include "Config.h"
|
|
|
|
#ifndef GLOBALS_H
|
|
#define GLOBALS_H
|
|
|
|
#define STEPS_PER_REVOLUTION (360/1.8) * 32
|
|
|
|
Stepper eggStepper(6, 5, STEPS_PER_REVOLUTION, 0, defYDegPerMM);
|
|
Stepper servoStepper(4, 3, STEPS_PER_REVOLUTION, xLimit,
|
|
defXDegPerMM);
|
|
|
|
Pen pen(7, 120, 180);
|
|
|
|
unsigned int eggStepperDelay;
|
|
unsigned int servoStepperDelay;
|
|
|
|
unsigned int eggDia;
|
|
unsigned int eggLength;
|
|
|
|
float eggStepperRPM;
|
|
float servoStepperRPM;
|
|
|
|
#endif |