Browse Source

Set default Raptor runout/caselight pins

Scott Lahteine 5 years ago
parent
commit
0e3c9e726d

+ 6
- 0
Marlin/src/pins/pins_FORMBOT_RAPTOR.h View File

@@ -149,6 +149,10 @@
149 149
   #define FAN_PIN           9
150 150
 #endif
151 151
 
152
+#ifndef FIL_RUNOUT_PIN
153
+  #define FIL_RUNOUT_PIN   57
154
+#endif
155
+
152 156
 #if !HAS_FILAMENT_SENSOR
153 157
   #define FAN1_PIN          4
154 158
 #endif
@@ -169,6 +173,8 @@
169 173
   #define PS_ON_PIN        12
170 174
 #endif
171 175
 
176
+#define CASE_LIGHT_PIN      5
177
+
172 178
 //
173 179
 // LCD / Controller
174 180
 //

+ 2
- 2
Marlin/src/pins/pins_FORMBOT_RAPTOR2.h View File

@@ -29,12 +29,12 @@
29 29
 
30 30
 #define FAN_PIN             6
31 31
 
32
-#include "pins_FORMBOT_RAPTOR.h"
33
-
34 32
 #ifndef FIL_RUNOUT_PIN
35 33
   #define FIL_RUNOUT_PIN   22
36 34
 #endif
37 35
 
36
+#include "pins_FORMBOT_RAPTOR.h"
37
+
38 38
 #define GREEDY_PANEL ANY(PANEL_ONE, VIKI2, miniVIKI, MINIPANEL, REPRAPWORLD_KEYPAD)
39 39
 
40 40
 //

+ 2
- 2
config/examples/Formbot/Raptor/Configuration_adv.h View File

@@ -308,11 +308,11 @@
308 308
  */
309 309
 #define CASE_LIGHT_ENABLE
310 310
 #if ENABLED(CASE_LIGHT_ENABLE)
311
-  #define CASE_LIGHT_PIN 5
311
+  //#define CASE_LIGHT_PIN 4                  // Override the default pin if needed
312 312
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
313 313
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
314 314
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 255   // Set default power-up brightness (0-255, requires PWM pin)
315
-  #define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
315
+  #define MENU_ITEM_CASE_LIGHT                // Add a Case Light option to the LCD main menu
316 316
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
317 317
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
318 318
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

Loading…
Cancel
Save