From a0f8a06daf726ad941684b5089b4d611843b3fde Mon Sep 17 00:00:00 2001 From: Holger Weber Date: Fri, 20 Mar 2026 00:09:55 +0100 Subject: [PATCH] Fixed initial Pin Setting --- include/EggDuino.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/include/EggDuino.h b/include/EggDuino.h index e0e32db..a2b0978 100644 --- a/include/EggDuino.h +++ b/include/EggDuino.h @@ -17,19 +17,18 @@ #ifdef ESP32 // Rotational Stepper -static const int kDefaultRotDirPin = 16; +static const int kDefaultRotStepPin = 25; +static const int kDefaultRotDirPin = 27; static const int kDefaultRotEnablePin = 12; -static const int kDefaultRotStepPin = 26; -#define rotMicrostep 32 -static const int kDefaultRotMicrostep = rotMicrostep; +static const int kDefaultRotMicrostep = 32; // Pen Stepper static const int kDefaultPenStepPin = 25; -static const int kDefaultPenDirPin = 27; +static const int kDefaultPenDirPin = 16; static const int kDefaultPenEnablePin = 12; -#define penMicrostep 32 -static const int kDefaultPenMicrostep = penMicrostep; +static const int kDefaultPenMicrostep = 32; +// Servo Pin static const int kDefaultServoPin = 17;