Ajout prise en charge ESP-Display
This commit is contained in:
@@ -15,10 +15,10 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
// Pin definitions for LM18200
|
||||
// These can be adjusted based on your D1 Mini ESP32 wiring
|
||||
#define MOTOR_PWM_PIN 25 ///< PWM signal output pin
|
||||
#define MOTOR_DIR_PIN 26 ///< Direction control pin
|
||||
#define MOTOR_BRAKE_PIN 27 ///< Brake control pin (active low)
|
||||
// Adjusted for ESP32-2432S028R available GPIOs
|
||||
#define MOTOR_PWM_PIN 18 ///< PWM signal output pin
|
||||
#define MOTOR_DIR_PIN 19 ///< Direction control pin
|
||||
#define MOTOR_BRAKE_PIN 23 ///< Brake control pin (active low)
|
||||
|
||||
/**
|
||||
* @class MotorController
|
||||
|
||||
Reference in New Issue
Block a user