Browse Source

BTT002: Add runout, PLR, and RGB pins (#16442)

thisiskeithb 5 years ago
parent
commit
64fdc4f24b
1 changed files with 31 additions and 1 deletions
  1. 31
    1
      Marlin/src/pins/stm32/pins_BTT_BTT002_V1_0.h

+ 31
- 1
Marlin/src/pins/stm32/pins_BTT_BTT002_V1_0.h View File

@@ -50,13 +50,27 @@
50 50
 #define Z_MAX_PIN          PD1
51 51
 
52 52
 //
53
-// Z Probe must be this pins  ##
53
+// Z Probe must be this pin
54 54
 //
55 55
 #ifndef Z_MIN_PROBE_PIN
56 56
   #define Z_MIN_PROBE_PIN  PD1
57 57
 #endif
58 58
 
59 59
 //
60
+// Filament Runout Sensor
61
+//
62
+#ifndef FIL_RUNOUT_PIN
63
+  #define FIL_RUNOUT_PIN   PA15
64
+#endif
65
+
66
+//
67
+// Power Loss Detection
68
+//
69
+#ifndef POWER_LOSS_PIN
70
+  #define POWER_LOSS_PIN   PD4
71
+#endif
72
+
73
+//
60 74
 // Steppers
61 75
 //
62 76
 #define X_STEP_PIN         PA9
@@ -226,3 +240,19 @@
226 240
   #endif
227 241
 
228 242
 #endif // HAS_SPI_LCD
243
+
244
+//
245
+// RGB LEDs
246
+//
247
+#ifndef RGB_LED_R_PIN
248
+  #define RGB_LED_R_PIN    PB5
249
+#endif
250
+#ifndef RGB_LED_G_PIN
251
+  #define RGB_LED_G_PIN    PB4
252
+#endif
253
+#ifndef RGB_LED_B_PIN
254
+  #define RGB_LED_B_PIN    PB3
255
+#endif
256
+#ifndef RGB_LED_W_PIN
257
+  #define RGB_LED_W_PIN    -1
258
+#endif

Loading…
Cancel
Save