From 62c78aa020eded09b137b05f0697dbecf38a887a Mon Sep 17 00:00:00 2001 From: Fisch Date: Wed, 15 Jan 2025 19:17:03 +0100 Subject: [PATCH] apply pcb pin swap to code --- movinghead/src/main.cpp | 12 ++++++------ ptz_board/ptz_board.kicad_sch | 11 ----------- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/movinghead/src/main.cpp b/movinghead/src/main.cpp index d426509..6e3b0bc 100644 --- a/movinghead/src/main.cpp +++ b/movinghead/src/main.cpp @@ -7,13 +7,13 @@ #define EN_PIN D0 -#define TILT_STEP_PIN D7 -#define TILT_DIR_PIN D4 -#define ENDSTOP_TILT D5 +#define TILT_STEP_PIN D8 +#define TILT_DIR_PIN D3 +#define ENDSTOP_TILT A0 -#define PAN_STEP_PIN D8 -#define PAN_DIR_PIN D3 -#define ENDSTOP_PAN A0 +#define PAN_STEP_PIN D7 +#define PAN_DIR_PIN D4 +#define ENDSTOP_PAN D5 #define PIN_LIGHT D6 diff --git a/ptz_board/ptz_board.kicad_sch b/ptz_board/ptz_board.kicad_sch index c26dc9e..7b04ae3 100644 --- a/ptz_board/ptz_board.kicad_sch +++ b/ptz_board/ptz_board.kicad_sch @@ -6387,17 +6387,6 @@ ) (uuid "ff534fc9-31ca-48b2-a462-c984553d2464") ) - (text "TODO: Code: DirT mit DirP tauschen. Und StepT mit StepP tauschen." - (exclude_from_sim no) - (at 44.45 19.05 0) - (effects - (font - (size 1.27 1.27) - ) - (justify left) - ) - (uuid "fcd5f5ee-af00-40dd-9e57-577e4d1aff5f") - ) (global_label "P_CFG3" (shape input) (at 190.5 135.89 180)