From 0a43977efcb89380952bd883756d32380bb2f2e7 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 24 Mar 2024 18:33:01 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20CNC=20miniRambo=20as=20overrides?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/examples/CNC/miniRambo/Configuration.h | 2 +- config/examples/CNC/miniRambo/Configuration_adv.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/examples/CNC/miniRambo/Configuration.h b/config/examples/CNC/miniRambo/Configuration.h index 7d65fcd51e..36a870e8fd 100644 --- a/config/examples/CNC/miniRambo/Configuration.h +++ b/config/examples/CNC/miniRambo/Configuration.h @@ -71,7 +71,7 @@ // Choose the name from boards.h that matches your setup #ifndef MOTHERBOARD #define MOTHERBOARD BOARD_MINIRAMBO - #define MINIRAMBO_CNC // Flag for CNC-specific features + #define BOARD_INFO_NAME "Mini RAMBo CNC" #endif /** diff --git a/config/examples/CNC/miniRambo/Configuration_adv.h b/config/examples/CNC/miniRambo/Configuration_adv.h index b20f23a6b4..ae0f391930 100644 --- a/config/examples/CNC/miniRambo/Configuration_adv.h +++ b/config/examples/CNC/miniRambo/Configuration_adv.h @@ -3601,6 +3601,9 @@ #define SPINDLE_LASER_USE_PWM // Enable if your controller supports setting the speed/power #if ENABLED(SPINDLE_LASER_USE_PWM) + + #define SPINDLE_LASER_PWM_PIN 4 + #define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower #define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR, ESP32, and LPC) // ESP32: If SPINDLE_LASER_PWM_PIN is onboard then <=78125Hz. For I2S expander