瀏覽代碼

Minor Pin Updates (#15214)

InsanityAutomation 5 年之前
父節點
當前提交
dcc39421c5

+ 1
- 1
Marlin/src/pins/ramps/pins_FORMBOT_RAPTOR2.h 查看文件

@@ -47,7 +47,7 @@
47 47
     #define SPINDLE_LASER_PWM_PIN     4 // Hardware PWM
48 48
     #define SPINDLE_DIR_PIN           5
49 49
   #elif !GREEDY_PANEL                   // Try to use AUX2
50
-    #define SPINDLE_LASER_ENA_PIN    40 // Pullup or pulldown!
50
+    #define SPINDLE_LASER_ENA_PIN     4 // Pullup or pulldown!
51 51
     #define SPINDLE_LASER_PWM_PIN    44 // Hardware PWM
52 52
     #define SPINDLE_DIR_PIN          65
53 53
   #endif

+ 2
- 1
Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h 查看文件

@@ -39,7 +39,8 @@
39 39
   #define FIL_RUNOUT2_PIN 15 // Creality CR-X can use dual runout sensors
40 40
 #endif
41 41
 
42
-#define SD_DETECT_PIN 49   // Always define onboard SD detect
42
+#define SD_DETECT_PIN 49  // Always define onboard SD detect
43
+#define BEEPER_PIN    37  // Always define beeper pin so Play Tone works with ExtUI
43 44
 
44 45
 #include "pins_RAMPS.h"
45 46
 

+ 2
- 1
Marlin/src/pins/sanguino/pins_MELZI_CREALITY.h 查看文件

@@ -53,8 +53,9 @@
53 53
 #define LCD_PINS_ENABLE    17   // ST9720 DAT
54 54
 #define LCD_PINS_D4        30   // ST9720 CLK
55 55
 
56
-#if DISABLED(SPEAKER) && ENABLED(BLTOUCH)
56
+#if ENABLED(BLTOUCH)
57 57
   #define SERVO0_PIN 27
58
+  #undef BEEPER_PIN
58 59
 #endif
59 60
 
60 61
 // Alter timing for graphical display

Loading…
取消
儲存