Prusa MINI Firmware overview
Main Page
Modules
Classes
Files
File List
File Members
pins_RAMPS.h
Go to the documentation of this file.
1
/**
2
* Marlin 3D Printer Firmware
3
* Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
*
5
* Based on Sprinter and grbl.
6
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*
21
*/
22
#pragma once
23
24
/**
25
* Arduino Mega with RAMPS v1.4 (or v1.3) pin assignments
26
*
27
* Applies to the following boards:
28
*
29
* RAMPS_14_EFB (Hotend, Fan, Bed)
30
* RAMPS_14_EEB (Hotend0, Hotend1, Bed)
31
* RAMPS_14_EFF (Hotend, Fan0, Fan1)
32
* RAMPS_14_EEF (Hotend0, Hotend1, Fan)
33
* RAMPS_14_SF (Spindle, Controller Fan)
34
*
35
* RAMPS_13_EFB (Hotend, Fan, Bed)
36
* RAMPS_13_EEB (Hotend0, Hotend1, Bed)
37
* RAMPS_13_EFF (Hotend, Fan0, Fan1)
38
* RAMPS_13_EEF (Hotend0, Hotend1, Fan)
39
* RAMPS_13_SF (Spindle, Controller Fan)
40
*
41
* Other pins_MYBOARD.h files may override these defaults
42
*
43
* Differences between
44
* RAMPS_13 | RAMPS_14
45
* 7 | 11
46
*/
47
48
#ifdef TARGET_LPC1768
49
#error "Oops! Set MOTHERBOARD to an LPC1768-based board when building for LPC1768."
50
#elif defined(__STM32F1__)
51
#error "Oops! Set MOTHERBOARD to an STM32F1-based board when building for STM32F1."
52
#endif
53
54
#if NONE(IS_RAMPS_SMART, IS_RAMPS_DUO, IS_RAMPS4DUE, TARGET_LPC1768)
55
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
56
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
57
#endif
58
#endif
59
60
#ifndef BOARD_INFO_NAME
61
#define BOARD_INFO_NAME "RAMPS 1.4"
62
#endif
63
64
//
65
// Servos
66
//
67
#ifndef SERVO0_PIN
68
#ifdef IS_RAMPS_13
69
#define SERVO0_PIN 7 // RAMPS_13 // Will conflict with BTN_EN2 on LCD_I2C_VIKI
70
#else
71
#define SERVO0_PIN 11
72
#endif
73
#endif
74
#ifndef SERVO1_PIN
75
#define SERVO1_PIN 6
76
#endif
77
#ifndef SERVO2_PIN
78
#define SERVO2_PIN 5
79
#endif
80
#ifndef SERVO3_PIN
81
#define SERVO3_PIN 4
82
#endif
83
84
//
85
// Limit Switches
86
//
87
#ifndef X_STOP_PIN
88
#ifndef X_MIN_PIN
89
#define X_MIN_PIN 3
90
#endif
91
#ifndef X_MAX_PIN
92
#define X_MAX_PIN 2
93
#endif
94
#endif
95
#ifndef Y_STOP_PIN
96
#ifndef Y_MIN_PIN
97
#define Y_MIN_PIN 14
98
#endif
99
#ifndef Y_MAX_PIN
100
#define Y_MAX_PIN 15
101
#endif
102
#endif
103
#ifndef Z_STOP_PIN
104
#ifndef Z_MIN_PIN
105
#define Z_MIN_PIN 18
106
#endif
107
#ifndef Z_MAX_PIN
108
#define Z_MAX_PIN 19
109
#endif
110
#endif
111
112
//
113
// Z Probe (when not Z_MIN_PIN)
114
//
115
#ifndef Z_MIN_PROBE_PIN
116
#define Z_MIN_PROBE_PIN 32
117
#endif
118
119
//
120
// Steppers
121
//
122
#define X_STEP_PIN 54
123
#define X_DIR_PIN 55
124
#define X_ENABLE_PIN 38
125
#ifndef X_CS_PIN
126
#define X_CS_PIN 53
127
#endif
128
129
#define Y_STEP_PIN 60
130
#define Y_DIR_PIN 61
131
#define Y_ENABLE_PIN 56
132
#ifndef Y_CS_PIN
133
#define Y_CS_PIN 49
134
#endif
135
136
#define Z_STEP_PIN 46
137
#define Z_DIR_PIN 48
138
#define Z_ENABLE_PIN 62
139
#ifndef Z_CS_PIN
140
#define Z_CS_PIN 40
141
#endif
142
143
#define E0_STEP_PIN 26
144
#define E0_DIR_PIN 28
145
#define E0_ENABLE_PIN 24
146
#ifndef E0_CS_PIN
147
#define E0_CS_PIN 42
148
#endif
149
150
#define E1_STEP_PIN 36
151
#define E1_DIR_PIN 34
152
#define E1_ENABLE_PIN 30
153
#ifndef E1_CS_PIN
154
#define E1_CS_PIN 44
155
#endif
156
157
//
158
// Temperature Sensors
159
//
160
#ifndef TEMP_0_PIN
161
#define TEMP_0_PIN 13 // Analog Input
162
#endif
163
#ifndef TEMP_1_PIN
164
#define TEMP_1_PIN 15 // Analog Input
165
#endif
166
#ifndef TEMP_BED_PIN
167
#define TEMP_BED_PIN 14 // Analog Input
168
#endif
169
170
// SPI for Max6675 or Max31855 Thermocouple
171
#if DISABLED(SDSUPPORT)
172
#define MAX6675_SS_PIN 66 // Don't use 53 if there is even the remote possibility of using Display/SD card
173
#else
174
#define MAX6675_SS_PIN 66 // Don't use 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
175
#endif
176
177
//
178
// Augmentation for auto-assigning RAMPS plugs
179
//
180
#if NONE(IS_RAMPS_EEB, IS_RAMPS_EEF, IS_RAMPS_EFB, IS_RAMPS_EFF, IS_RAMPS_SF) && !PIN_EXISTS(MOSFET_D)
181
#if HOTENDS > 1
182
#if TEMP_SENSOR_BED
183
#define IS_RAMPS_EEB
184
#else
185
#define IS_RAMPS_EEF
186
#endif
187
#elif TEMP_SENSOR_BED
188
#define IS_RAMPS_EFB
189
#else
190
#define IS_RAMPS_EFF
191
#endif
192
#endif
193
194
//
195
// Heaters / Fans
196
//
197
#ifndef MOSFET_D_PIN
198
#define MOSFET_D_PIN -1
199
#endif
200
#ifndef RAMPS_D8_PIN
201
#define RAMPS_D8_PIN 8
202
#endif
203
#ifndef RAMPS_D9_PIN
204
#define RAMPS_D9_PIN 9
205
#endif
206
#ifndef RAMPS_D10_PIN
207
#define RAMPS_D10_PIN 10
208
#endif
209
210
#define HEATER_0_PIN RAMPS_D10_PIN
211
212
#if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed
213
#define HEATER_BED_PIN RAMPS_D8_PIN
214
#elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan
215
#define HEATER_1_PIN RAMPS_D9_PIN
216
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
217
#define HEATER_1_PIN RAMPS_D9_PIN
218
#define HEATER_BED_PIN RAMPS_D8_PIN
219
#elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan
220
#define FAN1_PIN RAMPS_D8_PIN
221
#elif DISABLED(IS_RAMPS_SF) // Not Spindle, Fan (i.e., "EFBF" or "EFBE")
222
#define HEATER_BED_PIN RAMPS_D8_PIN
223
#if HOTENDS == 1
224
#define FAN1_PIN MOSFET_D_PIN
225
#else
226
#define HEATER_1_PIN MOSFET_D_PIN
227
#endif
228
#endif
229
230
#ifndef FAN_PIN
231
#if EITHER(IS_RAMPS_EFB, IS_RAMPS_EFF) // Hotend, Fan, Bed or Hotend, Fan, Fan
232
#define FAN_PIN RAMPS_D9_PIN
233
#elif EITHER(IS_RAMPS_EEF, IS_RAMPS_SF) // Hotend, Hotend, Fan or Spindle, Fan
234
#define FAN_PIN RAMPS_D8_PIN
235
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
236
#define FAN_PIN 4 // IO pin. Buffer needed
237
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
238
#define FAN_PIN RAMPS_D9_PIN
239
#endif
240
#endif
241
242
//
243
// Misc. Functions
244
//
245
#define SDSS 53
246
#define LED_PIN 13
247
248
#ifndef FILWIDTH_PIN
249
#define FILWIDTH_PIN 5 // Analog Input on AUX2
250
#endif
251
252
// RAMPS 1.4 DIO 4 on the servos connector
253
#ifndef FIL_RUNOUT_PIN
254
#define FIL_RUNOUT_PIN 4
255
#endif
256
257
#ifndef PS_ON_PIN
258
#define PS_ON_PIN 12
259
#endif
260
261
#if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENA_PIN)
262
#if NUM_SERVOS <= 1 // Prefer the servo connector
263
#define CASE_LIGHT_PIN 6 // Hardware PWM
264
#elif HAS_FREE_AUX2_PINS
265
#define CASE_LIGHT_PIN 44 // Hardware PWM
266
#endif
267
#endif
268
269
//
270
// M3/M4/M5 - Spindle/Laser Control
271
//
272
#if HAS_CUTTER && !defined(SPINDLE_LASER_ENA_PIN)
273
#if !NUM_SERVOS // Use servo connector if possible
274
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
275
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
276
#define SPINDLE_DIR_PIN 5
277
#elif HAS_FREE_AUX2_PINS
278
#define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
279
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
280
#define SPINDLE_DIR_PIN 65
281
#else
282
#error "No auto-assignable Spindle/Laser pins available."
283
#endif
284
#endif
285
286
//
287
// TMC software SPI
288
//
289
#if ENABLED(TMC_USE_SW_SPI)
290
#ifndef TMC_SW_MOSI
291
#define TMC_SW_MOSI 66
292
#endif
293
#ifndef TMC_SW_MISO
294
#define TMC_SW_MISO 44
295
#endif
296
#ifndef TMC_SW_SCK
297
#define TMC_SW_SCK 64
298
#endif
299
#endif
300
301
#if HAS_TMC220x
302
/**
303
* TMC2208/TMC2209 stepper drivers
304
*
305
* Hardware serial communication ports.
306
* If undefined software serial is used according to the pins below
307
*/
308
//#define X_HARDWARE_SERIAL Serial1
309
//#define X2_HARDWARE_SERIAL Serial1
310
//#define Y_HARDWARE_SERIAL Serial1
311
//#define Y2_HARDWARE_SERIAL Serial1
312
//#define Z_HARDWARE_SERIAL Serial1
313
//#define Z2_HARDWARE_SERIAL Serial1
314
//#define E0_HARDWARE_SERIAL Serial1
315
//#define E1_HARDWARE_SERIAL Serial1
316
//#define E2_HARDWARE_SERIAL Serial1
317
//#define E3_HARDWARE_SERIAL Serial1
318
//#define E4_HARDWARE_SERIAL Serial1
319
320
//
321
// Software serial
322
//
323
324
#ifndef X_SERIAL_TX_PIN
325
#define X_SERIAL_TX_PIN 40
326
#endif
327
#ifndef X_SERIAL_RX_PIN
328
#define X_SERIAL_RX_PIN 63
329
#endif
330
#ifndef X2_SERIAL_TX_PIN
331
#define X2_SERIAL_TX_PIN -1
332
#endif
333
#ifndef X2_SERIAL_RX_PIN
334
#define X2_SERIAL_RX_PIN -1
335
#endif
336
337
#ifndef Y_SERIAL_TX_PIN
338
#define Y_SERIAL_TX_PIN 59
339
#endif
340
#ifndef Y_SERIAL_RX_PIN
341
#define Y_SERIAL_RX_PIN 64
342
#endif
343
#ifndef Y2_SERIAL_TX_PIN
344
#define Y2_SERIAL_TX_PIN -1
345
#endif
346
#ifndef Y2_SERIAL_RX_PIN
347
#define Y2_SERIAL_RX_PIN -1
348
#endif
349
350
#ifndef Z_SERIAL_TX_PIN
351
#define Z_SERIAL_TX_PIN 42
352
#endif
353
#ifndef Z_SERIAL_RX_PIN
354
#define Z_SERIAL_RX_PIN 65
355
#endif
356
#ifndef Z2_SERIAL_TX_PIN
357
#define Z2_SERIAL_TX_PIN -1
358
#endif
359
#ifndef Z2_SERIAL_RX_PIN
360
#define Z2_SERIAL_RX_PIN -1
361
#endif
362
363
#ifndef E0_SERIAL_TX_PIN
364
#define E0_SERIAL_TX_PIN 44
365
#endif
366
#ifndef E0_SERIAL_RX_PIN
367
#define E0_SERIAL_RX_PIN 66
368
#endif
369
#ifndef E1_SERIAL_TX_PIN
370
#define E1_SERIAL_TX_PIN -1
371
#endif
372
#ifndef E1_SERIAL_RX_PIN
373
#define E1_SERIAL_RX_PIN -1
374
#endif
375
#ifndef E2_SERIAL_TX_PIN
376
#define E2_SERIAL_TX_PIN -1
377
#endif
378
#ifndef E2_SERIAL_RX_PIN
379
#define E2_SERIAL_RX_PIN -1
380
#endif
381
#ifndef E3_SERIAL_TX_PIN
382
#define E3_SERIAL_TX_PIN -1
383
#endif
384
#ifndef E3_SERIAL_RX_PIN
385
#define E3_SERIAL_RX_PIN -1
386
#endif
387
#ifndef E4_SERIAL_TX_PIN
388
#define E4_SERIAL_TX_PIN -1
389
#endif
390
#ifndef E4_SERIAL_RX_PIN
391
#define E4_SERIAL_RX_PIN -1
392
#endif
393
#endif
394
395
//
396
// Průša i3 MK2 Multiplexer Support
397
//
398
#ifndef E_MUX0_PIN
399
#define E_MUX0_PIN 40 // Z_CS_PIN
400
#endif
401
#ifndef E_MUX1_PIN
402
#define E_MUX1_PIN 42 // E0_CS_PIN
403
#endif
404
#ifndef E_MUX2_PIN
405
#define E_MUX2_PIN 44 // E1_CS_PIN
406
#endif
407
408
//////////////////////////
409
// LCDs and Controllers //
410
//////////////////////////
411
412
#if HAS_SPI_LCD
413
414
//
415
// LCD Display output pins
416
//
417
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
418
419
#define LCD_PINS_RS 49 // CS chip select /SS chip slave select
420
#define LCD_PINS_ENABLE 51 // SID (MOSI)
421
#define LCD_PINS_D4 52 // SCK (CLK) clock
422
423
#elif BOTH(NEWPANEL, PANEL_ONE)
424
425
#define LCD_PINS_RS 40
426
#define LCD_PINS_ENABLE 42
427
#define LCD_PINS_D4 65
428
#define LCD_PINS_D5 66
429
#define LCD_PINS_D6 44
430
#define LCD_PINS_D7 64
431
432
#else
433
434
#if ENABLED(CR10_STOCKDISPLAY)
435
436
#define LCD_PINS_RS 27
437
#define LCD_PINS_ENABLE 29
438
#define LCD_PINS_D4 25
439
440
#if DISABLED(NEWPANEL)
441
#define BEEPER_PIN 37
442
#endif
443
444
#elif ENABLED(ZONESTAR_LCD)
445
446
#define LCD_PINS_RS 64
447
#define LCD_PINS_ENABLE 44
448
#define LCD_PINS_D4 63
449
#define LCD_PINS_D5 40
450
#define LCD_PINS_D6 42
451
#define LCD_PINS_D7 65
452
453
#else
454
455
#if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306)
456
#define LCD_PINS_DC 25 // Set as output on init
457
#define LCD_PINS_RS 27 // Pull low for 1s to init
458
// DOGM SPI LCD Support
459
#define DOGLCD_CS 16
460
#define DOGLCD_MOSI 17
461
#define DOGLCD_SCK 23
462
#define DOGLCD_A0 LCD_PINS_DC
463
#else
464
#define LCD_PINS_RS 16
465
#define LCD_PINS_ENABLE 17
466
#define LCD_PINS_D4 23
467
#define LCD_PINS_D5 25
468
#define LCD_PINS_D6 27
469
#endif
470
471
#define LCD_PINS_D7 29
472
473
#if DISABLED(NEWPANEL)
474
#define BEEPER_PIN 33
475
#endif
476
477
#endif
478
479
#if DISABLED(NEWPANEL)
480
// Buttons attached to a shift register
481
// Not wired yet
482
//#define SHIFT_CLK 38
483
//#define SHIFT_LD 42
484
//#define SHIFT_OUT 40
485
//#define SHIFT_EN 17
486
#endif
487
488
#endif
489
490
//
491
// LCD Display input pins
492
//
493
#if ENABLED(NEWPANEL)
494
495
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
496
497
#define BEEPER_PIN 37
498
499
#if ENABLED(CR10_STOCKDISPLAY)
500
#define BTN_EN1 17
501
#define BTN_EN2 23
502
#else
503
#define BTN_EN1 31
504
#define BTN_EN2 33
505
#endif
506
507
#define BTN_ENC 35
508
#ifndef SD_DETECT_PIN
509
#define SD_DETECT_PIN 49
510
#endif
511
#define KILL_PIN 41
512
513
#if ENABLED(BQ_LCD_SMART_CONTROLLER)
514
#define LCD_BACKLIGHT_PIN 39
515
#endif
516
517
#elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
518
519
#define BTN_EN1 64
520
#define BTN_EN2 59
521
#define BTN_ENC 63
522
#define SD_DETECT_PIN 42
523
524
#elif ENABLED(LCD_I2C_PANELOLU2)
525
526
#define BTN_EN1 47
527
#define BTN_EN2 43
528
#define BTN_ENC 32
529
#define LCD_SDSS SDSS
530
#define KILL_PIN 41
531
532
#elif ENABLED(LCD_I2C_VIKI)
533
534
#define BTN_EN1 22 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
535
#define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
536
#define BTN_ENC -1
537
538
#define LCD_SDSS SDSS
539
#define SD_DETECT_PIN 49
540
541
#elif ANY(VIKI2, miniVIKI)
542
543
#define DOGLCD_CS 45
544
#define DOGLCD_A0 44
545
#define LCD_SCREEN_ROT_180
546
547
#define BEEPER_PIN 33
548
#define STAT_LED_RED_PIN 32
549
#define STAT_LED_BLUE_PIN 35
550
551
#define BTN_EN1 22
552
#define BTN_EN2 7
553
#define BTN_ENC 39
554
555
#define SD_DETECT_PIN -1 // Pin 49 for display sd interface, 72 for easy adapter board
556
#define KILL_PIN 31
557
558
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
559
560
#define DOGLCD_CS 29
561
#define DOGLCD_A0 27
562
563
#define BEEPER_PIN 23
564
#define LCD_BACKLIGHT_PIN 33
565
566
#define BTN_EN1 35
567
#define BTN_EN2 37
568
#define BTN_ENC 31
569
570
#define LCD_SDSS SDSS
571
#define SD_DETECT_PIN 49
572
#define KILL_PIN 41
573
574
#elif EITHER(MKS_MINI_12864, FYSETC_MINI_12864)
575
576
#define BEEPER_PIN 37
577
#define BTN_ENC 35
578
#define SD_DETECT_PIN 49
579
#define KILL_PIN 41
580
581
#if ENABLED(MKS_MINI_12864) // Added in Marlin 1.1.6
582
583
#define DOGLCD_A0 27
584
#define DOGLCD_CS 25
585
586
// GLCD features
587
// Uncomment screen orientation
588
//#define LCD_SCREEN_ROT_90
589
//#define LCD_SCREEN_ROT_180
590
//#define LCD_SCREEN_ROT_270
591
592
// not connected to a pin
593
#define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
594
595
#define BTN_EN1 31
596
#define BTN_EN2 33
597
598
#elif ENABLED(FYSETC_MINI_12864)
599
600
// From https://wiki.fysetc.com/Mini12864_Panel/?fbclid=IwAR1FyjuNdVOOy9_xzky3qqo_WeM5h-4gpRnnWhQr_O1Ef3h0AFnFXmCehK8
601
602
#define DOGLCD_A0 16
603
#define DOGLCD_CS 17
604
605
#define BTN_EN1 33
606
#define BTN_EN2 31
607
608
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
609
// results in LCD soft SPI mode 3, SD soft SPI mode 0
610
611
#define LCD_RESET_PIN 23 // Must be high or open for LCD to operate normally.
612
613
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
614
#ifndef RGB_LED_R_PIN
615
#define RGB_LED_R_PIN 25
616
#endif
617
#ifndef RGB_LED_G_PIN
618
#define RGB_LED_G_PIN 27
619
#endif
620
#ifndef RGB_LED_B_PIN
621
#define RGB_LED_B_PIN 29
622
#endif
623
#elif ENABLED(FYSETC_MINI_12864_2_1)
624
#define NEOPIXEL_PIN 25
625
#endif
626
627
#endif
628
629
#elif ENABLED(MINIPANEL)
630
631
#define BEEPER_PIN 42
632
// not connected to a pin
633
#define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
634
635
#define DOGLCD_A0 44
636
#define DOGLCD_CS 66
637
638
// GLCD features
639
// Uncomment screen orientation
640
//#define LCD_SCREEN_ROT_90
641
//#define LCD_SCREEN_ROT_180
642
//#define LCD_SCREEN_ROT_270
643
644
#define BTN_EN1 40
645
#define BTN_EN2 63
646
#define BTN_ENC 59
647
648
#define SD_DETECT_PIN 49
649
#define KILL_PIN 64
650
651
#elif ENABLED(ZONESTAR_LCD)
652
653
#define ADC_KEYPAD_PIN 12
654
655
#elif ENABLED(AZSMZ_12864)
656
657
// Pins only defined for RAMPS_SMART currently
658
659
#else
660
661
// Beeper on AUX-4
662
#define BEEPER_PIN 33
663
664
// Buttons are directly attached to AUX-2
665
#if ENABLED(REPRAPWORLD_KEYPAD)
666
#define SHIFT_OUT 40
667
#define SHIFT_CLK 44
668
#define SHIFT_LD 42
669
#define BTN_EN1 64
670
#define BTN_EN2 59
671
#define BTN_ENC 63
672
#elif ENABLED(PANEL_ONE)
673
#define BTN_EN1 59 // AUX2 PIN 3
674
#define BTN_EN2 63 // AUX2 PIN 4
675
#define BTN_ENC 49 // AUX3 PIN 7
676
#else
677
#define BTN_EN1 37
678
#define BTN_EN2 35
679
#define BTN_ENC 31
680
#endif
681
682
#if ENABLED(G3D_PANEL)
683
#define SD_DETECT_PIN 49
684
#define KILL_PIN 41
685
#endif
686
687
#endif
688
#endif // NEWPANEL
689
690
#endif // HAS_SPI_LCD
Prusa-Firmware-Buddy-Private1
lib
Marlin
Marlin
src
pins
ramps
pins_RAMPS.h
Generated by
1.8.16