Browse Source

FYSETC_MINI_12864 pins for SKR PRO 1.1 (#15253)

Evgeny Zyatkov 5 years ago
parent
commit
61e3f119f4
1 changed files with 20 additions and 0 deletions
  1. 20
    0
      Marlin/src/pins/stm32/pins_BIGTREE_SKR_PRO_V1.1.h

+ 20
- 0
Marlin/src/pins/stm32/pins_BIGTREE_SKR_PRO_V1.1.h View File

@@ -220,6 +220,26 @@
220 220
     #define LCD_PINS_ENABLE PD11
221 221
     #define LCD_PINS_D4    PG2
222 222
 
223
+    #if ENABLED(FYSETC_MINI_12864)
224
+      #define DOGLCD_CS    PD11
225
+      #define DOGLCD_A0    PD10
226
+      //#define LCD_BACKLIGHT_PIN -1
227
+      #define LCD_RESET_PIN PG2   // Must be high or open for LCD to operate normally.
228
+      #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
229
+        #ifndef RGB_LED_R_PIN
230
+          #define RGB_LED_R_PIN PG3
231
+        #endif
232
+        #ifndef RGB_LED_G_PIN
233
+          #define RGB_LED_G_PIN PG6
234
+        #endif
235
+        #ifndef RGB_LED_B_PIN
236
+          #define RGB_LED_B_PIN PG7
237
+        #endif
238
+      #elif ENABLED(FYSETC_MINI_12864_2_1)
239
+        #define NEOPIXEL_PIN    PG3
240
+      #endif
241
+    #endif // !FYSETC_MINI_12864
242
+
223 243
     #if ENABLED(ULTIPANEL)
224 244
       #define LCD_PINS_D5  PG3
225 245
       #define LCD_PINS_D6  PG6

Loading…
Cancel
Save