From 82e5a8c44c57173ea9a9b46f250652e0e8d44305 Mon Sep 17 00:00:00 2001 From: dd060606 Date: Thu, 22 May 2025 19:54:22 +0200 Subject: [PATCH] update PINs --- include/main.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/main.h b/include/main.h index ea1c8b4..9faa569 100644 --- a/include/main.h +++ b/include/main.h @@ -14,6 +14,17 @@ enum Direction #define TX_PIN 17 #define RX_PIN 16 +/* Réel */ +#define M1_DIR_PIN 18 +#define M1_STEP_PIN 22 +#define M1_ENABLE_PIN 32 + +#define M2_DIR_PIN 19 +#define M2_STEP_PIN 23 +#define M2_ENABLE_PIN 26 + +/* Simulateur + // Moteur 1 - Gauche #define M1_DIR_PIN 4 #define M1_STEP_PIN 33 @@ -24,6 +35,8 @@ enum Direction #define M2_STEP_PIN 32 #define M2_ENABLE_PIN 27 +*/ + // Paramètres moteurs #define R_SENSE 0.11f #define CURRENT 600 // mA