My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pins_RAMPS_LINUX.h 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 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 <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. /**
  24. * Arduino Mega with RAMPS v1.4 (or v1.3) pin assignments
  25. *
  26. * Applies to the following boards:
  27. *
  28. * RAMPS_14_EFB (Hotend, Fan, Bed)
  29. * RAMPS_14_EEB (Hotend0, Hotend1, Bed)
  30. * RAMPS_14_EFF (Hotend, Fan0, Fan1)
  31. * RAMPS_14_EEF (Hotend0, Hotend1, Fan)
  32. * RAMPS_14_SF (Spindle, Controller Fan)
  33. *
  34. * RAMPS_13_EFB (Hotend, Fan, Bed)
  35. * RAMPS_13_EEB (Hotend0, Hotend1, Bed)
  36. * RAMPS_13_EFF (Hotend, Fan0, Fan1)
  37. * RAMPS_13_EEF (Hotend0, Hotend1, Fan)
  38. * RAMPS_13_SF (Spindle, Controller Fan)
  39. *
  40. * Other pins_MYBOARD.h files may override these defaults
  41. *
  42. * Differences between
  43. * RAMPS_13 | RAMPS_14
  44. * 7 | 11
  45. */
  46. #ifndef BOARD_INFO_NAME
  47. #define BOARD_INFO_NAME "RAMPS 1.4"
  48. #endif
  49. #ifndef MARLIN_EEPROM_SIZE
  50. #define MARLIN_EEPROM_SIZE 0x1000 // 4KB
  51. #endif
  52. #define IS_RAMPS_EFB
  53. //
  54. // Servos
  55. //
  56. #ifdef IS_RAMPS_13
  57. #define SERVO0_PIN 7 // RAMPS_13 // Will conflict with BTN_EN2 on LCD_I2C_VIKI
  58. #else
  59. #define SERVO0_PIN 11
  60. #endif
  61. #define SERVO1_PIN 6
  62. #define SERVO2_PIN 5
  63. #ifndef SERVO3_PIN
  64. #define SERVO3_PIN 4
  65. #endif
  66. //
  67. // Limit Switches
  68. //
  69. #define X_MIN_PIN 3
  70. #ifndef X_MAX_PIN
  71. #define X_MAX_PIN 2
  72. #endif
  73. #define Y_MIN_PIN 14
  74. #define Y_MAX_PIN 15
  75. #define Z_MIN_PIN 18
  76. #define Z_MAX_PIN 19
  77. //
  78. // Z Probe (when not Z_MIN_PIN)
  79. //
  80. #ifndef Z_MIN_PROBE_PIN
  81. #define Z_MIN_PROBE_PIN 32
  82. #endif
  83. //
  84. // Steppers
  85. //
  86. #define X_STEP_PIN 54
  87. #define X_DIR_PIN 55
  88. #define X_ENABLE_PIN 38
  89. #ifndef X_CS_PIN
  90. #define X_CS_PIN 53
  91. #endif
  92. #define Y_STEP_PIN 60
  93. #define Y_DIR_PIN 61
  94. #define Y_ENABLE_PIN 56
  95. #ifndef Y_CS_PIN
  96. #define Y_CS_PIN 49
  97. #endif
  98. #define Z_STEP_PIN 46
  99. #define Z_DIR_PIN 48
  100. #define Z_ENABLE_PIN 62
  101. #ifndef Z_CS_PIN
  102. #define Z_CS_PIN 40
  103. #endif
  104. #define E0_STEP_PIN 26
  105. #define E0_DIR_PIN 28
  106. #define E0_ENABLE_PIN 24
  107. #ifndef E0_CS_PIN
  108. #define E0_CS_PIN 42
  109. #endif
  110. #define E1_STEP_PIN 36
  111. #define E1_DIR_PIN 34
  112. #define E1_ENABLE_PIN 30
  113. #ifndef E1_CS_PIN
  114. #define E1_CS_PIN 44
  115. #endif
  116. //
  117. // Temperature Sensors
  118. //
  119. #define TEMP_0_PIN 0 // Analog Input
  120. #define TEMP_1_PIN 1 // Analog Input
  121. #define TEMP_BED_PIN 2 // Analog Input
  122. // SPI for Max6675 or Max31855 Thermocouple
  123. #if DISABLED(SDSUPPORT)
  124. #define MAX6675_SS_PIN 66 // Don't use 53 if using Display/SD card
  125. #else
  126. #define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
  127. #endif
  128. //
  129. // Augmentation for auto-assigning RAMPS plugs
  130. //
  131. #if NONE(IS_RAMPS_EEB, IS_RAMPS_EEF, IS_RAMPS_EFB, IS_RAMPS_EFF, IS_RAMPS_SF) && !PIN_EXISTS(MOSFET_D)
  132. #if HAS_MULTI_HOTEND
  133. #if TEMP_SENSOR_BED
  134. #define IS_RAMPS_EEB
  135. #else
  136. #define IS_RAMPS_EEF
  137. #endif
  138. #elif TEMP_SENSOR_BED
  139. #define IS_RAMPS_EFB
  140. #else
  141. #define IS_RAMPS_EFF
  142. #endif
  143. #endif
  144. //
  145. // Heaters / Fans
  146. //
  147. #ifndef MOSFET_D_PIN
  148. #define MOSFET_D_PIN -1
  149. #endif
  150. #ifndef RAMPS_D8_PIN
  151. #define RAMPS_D8_PIN 8
  152. #endif
  153. #ifndef RAMPS_D9_PIN
  154. #define RAMPS_D9_PIN 9
  155. #endif
  156. #ifndef RAMPS_D10_PIN
  157. #define RAMPS_D10_PIN 10
  158. #endif
  159. #define HEATER_0_PIN RAMPS_D10_PIN
  160. #if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed
  161. #define FAN_PIN RAMPS_D9_PIN
  162. #define HEATER_BED_PIN RAMPS_D8_PIN
  163. #elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan
  164. #define HEATER_1_PIN RAMPS_D9_PIN
  165. #define FAN_PIN RAMPS_D8_PIN
  166. #elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
  167. #define HEATER_1_PIN RAMPS_D9_PIN
  168. #define HEATER_BED_PIN RAMPS_D8_PIN
  169. #elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan
  170. #define FAN_PIN RAMPS_D9_PIN
  171. #define FAN1_PIN RAMPS_D8_PIN
  172. #elif ENABLED(IS_RAMPS_SF) // Spindle, Fan
  173. #define FAN_PIN RAMPS_D8_PIN
  174. #else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
  175. #define FAN_PIN RAMPS_D9_PIN
  176. #define HEATER_BED_PIN RAMPS_D8_PIN
  177. #if HOTENDS == 1
  178. #define FAN1_PIN MOSFET_D_PIN
  179. #else
  180. #define HEATER_1_PIN MOSFET_D_PIN
  181. #endif
  182. #endif
  183. #ifndef FAN_PIN
  184. #define FAN_PIN 4 // IO pin. Buffer needed
  185. #endif
  186. //
  187. // Misc. Functions
  188. //
  189. #define SDSS 53
  190. #define LED_PIN 13
  191. #ifndef FILWIDTH_PIN
  192. #define FILWIDTH_PIN 5 // Analog Input on AUX2
  193. #endif
  194. // define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
  195. #ifndef FIL_RUNOUT_PIN
  196. #define FIL_RUNOUT_PIN 4
  197. #endif
  198. #ifndef PS_ON_PIN
  199. #define PS_ON_PIN 12
  200. #endif
  201. #if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) && !defined(SPINDLE_LASER_ENA_PIN)
  202. #if NUM_SERVOS <= 1 // Prefer the servo connector
  203. #define CASE_LIGHT_PIN 6 // Hardware PWM
  204. #elif HAS_FREE_AUX2_PINS // try to use AUX 2
  205. #define CASE_LIGHT_PIN 44 // Hardware PWM
  206. #endif
  207. #endif
  208. //
  209. // M3/M4/M5 - Spindle/Laser Control
  210. //
  211. #if HAS_CUTTER && !PIN_EXISTS(SPINDLE_LASER_ENA)
  212. #if !defined(NUM_SERVOS) || NUM_SERVOS == 0 // Prefer the servo connector
  213. #define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
  214. #define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
  215. #define SPINDLE_DIR_PIN 5
  216. #elif HAS_FREE_AUX2_PINS // try to use AUX 2
  217. #define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
  218. #define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
  219. #define SPINDLE_DIR_PIN 65
  220. #endif
  221. #endif
  222. //
  223. // Průša i3 MK2 Multiplexer Support
  224. //
  225. #ifndef E_MUX0_PIN
  226. #define E_MUX0_PIN 40 // Z_CS_PIN
  227. #endif
  228. #ifndef E_MUX1_PIN
  229. #define E_MUX1_PIN 42 // E0_CS_PIN
  230. #endif
  231. #ifndef E_MUX2_PIN
  232. #define E_MUX2_PIN 44 // E1_CS_PIN
  233. #endif
  234. /**
  235. * Default pins for TMC software SPI
  236. */
  237. #if ENABLED(TMC_USE_SW_SPI)
  238. #ifndef TMC_SW_MOSI
  239. #define TMC_SW_MOSI 66
  240. #endif
  241. #ifndef TMC_SW_MISO
  242. #define TMC_SW_MISO 44
  243. #endif
  244. #ifndef TMC_SW_SCK
  245. #define TMC_SW_SCK 64
  246. #endif
  247. #endif
  248. #if HAS_TMC_UART
  249. /**
  250. * TMC2208/TMC2209 stepper drivers
  251. *
  252. * Hardware serial communication ports.
  253. * If undefined software serial is used according to the pins below
  254. */
  255. //#define X_HARDWARE_SERIAL Serial1
  256. //#define X2_HARDWARE_SERIAL Serial1
  257. //#define Y_HARDWARE_SERIAL Serial1
  258. //#define Y2_HARDWARE_SERIAL Serial1
  259. //#define Z_HARDWARE_SERIAL Serial1
  260. //#define Z2_HARDWARE_SERIAL Serial1
  261. //#define E0_HARDWARE_SERIAL Serial1
  262. //#define E1_HARDWARE_SERIAL Serial1
  263. //#define E2_HARDWARE_SERIAL Serial1
  264. //#define E3_HARDWARE_SERIAL Serial1
  265. //#define E4_HARDWARE_SERIAL Serial1
  266. /**
  267. * Software serial
  268. */
  269. #ifndef X_SERIAL_TX_PIN
  270. #define X_SERIAL_TX_PIN 40
  271. #endif
  272. #ifndef X_SERIAL_RX_PIN
  273. #define X_SERIAL_RX_PIN 63
  274. #endif
  275. #ifndef X2_SERIAL_TX_PIN
  276. #define X2_SERIAL_TX_PIN -1
  277. #endif
  278. #ifndef X2_SERIAL_RX_PIN
  279. #define X2_SERIAL_RX_PIN -1
  280. #endif
  281. #ifndef Y_SERIAL_TX_PIN
  282. #define Y_SERIAL_TX_PIN 59
  283. #endif
  284. #ifndef Y_SERIAL_RX_PIN
  285. #define Y_SERIAL_RX_PIN 64
  286. #endif
  287. #ifndef Y2_SERIAL_TX_PIN
  288. #define Y2_SERIAL_TX_PIN -1
  289. #endif
  290. #ifndef Y2_SERIAL_RX_PIN
  291. #define Y2_SERIAL_RX_PIN -1
  292. #endif
  293. #ifndef Z_SERIAL_TX_PIN
  294. #define Z_SERIAL_TX_PIN 42
  295. #endif
  296. #ifndef Z_SERIAL_RX_PIN
  297. #define Z_SERIAL_RX_PIN 65
  298. #endif
  299. #ifndef Z2_SERIAL_TX_PIN
  300. #define Z2_SERIAL_TX_PIN -1
  301. #endif
  302. #ifndef Z2_SERIAL_RX_PIN
  303. #define Z2_SERIAL_RX_PIN -1
  304. #endif
  305. #ifndef E0_SERIAL_TX_PIN
  306. #define E0_SERIAL_TX_PIN 44
  307. #endif
  308. #ifndef E0_SERIAL_RX_PIN
  309. #define E0_SERIAL_RX_PIN 66
  310. #endif
  311. #ifndef E1_SERIAL_TX_PIN
  312. #define E1_SERIAL_TX_PIN -1
  313. #endif
  314. #ifndef E1_SERIAL_RX_PIN
  315. #define E1_SERIAL_RX_PIN -1
  316. #endif
  317. #ifndef E2_SERIAL_TX_PIN
  318. #define E2_SERIAL_TX_PIN -1
  319. #endif
  320. #ifndef E2_SERIAL_RX_PIN
  321. #define E2_SERIAL_RX_PIN -1
  322. #endif
  323. #ifndef E3_SERIAL_TX_PIN
  324. #define E3_SERIAL_TX_PIN -1
  325. #endif
  326. #ifndef E3_SERIAL_RX_PIN
  327. #define E3_SERIAL_RX_PIN -1
  328. #endif
  329. #ifndef E4_SERIAL_TX_PIN
  330. #define E4_SERIAL_TX_PIN -1
  331. #endif
  332. #ifndef E4_SERIAL_RX_PIN
  333. #define E4_SERIAL_RX_PIN -1
  334. #endif
  335. #ifndef E5_SERIAL_TX_PIN
  336. #define E5_SERIAL_TX_PIN -1
  337. #endif
  338. #ifndef E5_SERIAL_RX_PIN
  339. #define E5_SERIAL_RX_PIN -1
  340. #endif
  341. #ifndef E6_SERIAL_TX_PIN
  342. #define E6_SERIAL_TX_PIN -1
  343. #endif
  344. #ifndef E6_SERIAL_RX_PIN
  345. #define E6_SERIAL_RX_PIN -1
  346. #endif
  347. #ifndef E7_SERIAL_TX_PIN
  348. #define E7_SERIAL_TX_PIN -1
  349. #endif
  350. #ifndef E7_SERIAL_RX_PIN
  351. #define E7_SERIAL_RX_PIN -1
  352. #endif
  353. #endif
  354. //////////////////////////
  355. // LCDs and Controllers //
  356. //////////////////////////
  357. #if HAS_WIRED_LCD
  358. //
  359. // LCD Display output pins
  360. //
  361. #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
  362. #define LCD_PINS_RS 49 // CS chip select /SS chip slave select
  363. #define LCD_PINS_ENABLE 51 // SID (MOSI)
  364. #define LCD_PINS_D4 52 // SCK (CLK) clock
  365. #elif BOTH(IS_NEWPANEL, PANEL_ONE)
  366. #define LCD_PINS_RS 40
  367. #define LCD_PINS_ENABLE 42
  368. #define LCD_PINS_D4 65
  369. #define LCD_PINS_D5 66
  370. #define LCD_PINS_D6 44
  371. #define LCD_PINS_D7 64
  372. #else
  373. #if ENABLED(CR10_STOCKDISPLAY)
  374. #define LCD_PINS_RS 27
  375. #define LCD_PINS_ENABLE 29
  376. #define LCD_PINS_D4 25
  377. #if !IS_NEWPANEL
  378. #define BEEPER_PIN 37
  379. #endif
  380. #elif ENABLED(ZONESTAR_LCD)
  381. #define LCD_PINS_RS 64
  382. #define LCD_PINS_ENABLE 44
  383. #define LCD_PINS_D4 63
  384. #define LCD_PINS_D5 40
  385. #define LCD_PINS_D6 42
  386. #define LCD_PINS_D7 65
  387. #else
  388. #if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306)
  389. #define LCD_PINS_DC 25 // Set as output on init
  390. #define LCD_PINS_RS 27 // Pull low for 1s to init
  391. // DOGM SPI LCD Support
  392. #define DOGLCD_CS 16
  393. #define DOGLCD_MOSI 17
  394. #define DOGLCD_SCK 23
  395. #define DOGLCD_A0 LCD_PINS_DC
  396. #else
  397. #define LCD_PINS_RS 16
  398. #define LCD_PINS_ENABLE 17
  399. #define LCD_PINS_D4 23
  400. #define LCD_PINS_D5 25
  401. #define LCD_PINS_D6 27
  402. #endif
  403. #define LCD_PINS_D7 29
  404. #if !IS_NEWPANEL
  405. #define BEEPER_PIN 33
  406. #endif
  407. #endif
  408. #if !IS_NEWPANEL
  409. // Buttons attached to a shift register
  410. // Not wired yet
  411. //#define SHIFT_CLK 38
  412. //#define SHIFT_LD 42
  413. //#define SHIFT_OUT 40
  414. //#define SHIFT_EN 17
  415. #endif
  416. #endif
  417. //
  418. // LCD Display input pins
  419. //
  420. #if IS_NEWPANEL
  421. #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
  422. #define BEEPER_PIN 37
  423. #if ENABLED(CR10_STOCKDISPLAY)
  424. #define BTN_EN1 17
  425. #define BTN_EN2 23
  426. #else
  427. #define BTN_EN1 31
  428. #define BTN_EN2 33
  429. #endif
  430. #define BTN_ENC 35
  431. #define SD_DETECT_PIN 49
  432. #define KILL_PIN 41
  433. #if ENABLED(BQ_LCD_SMART_CONTROLLER)
  434. #define LCD_BACKLIGHT_PIN 39
  435. #endif
  436. #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
  437. #define BTN_EN1 64
  438. #define BTN_EN2 59
  439. #define BTN_ENC 63
  440. #define SD_DETECT_PIN 42
  441. #elif ENABLED(LCD_I2C_PANELOLU2)
  442. #define BTN_EN1 47
  443. #define BTN_EN2 43
  444. #define BTN_ENC 32
  445. #define LCD_SDSS SDSS
  446. #define KILL_PIN 41
  447. #elif ENABLED(LCD_I2C_VIKI)
  448. #define BTN_EN1 22 // https://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
  449. #define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
  450. #define BTN_ENC -1
  451. #define LCD_SDSS SDSS
  452. #define SD_DETECT_PIN 49
  453. #elif ANY(VIKI2, miniVIKI)
  454. #define DOGLCD_CS 45
  455. #define DOGLCD_A0 44
  456. #define LCD_SCREEN_ROT_180
  457. #define BEEPER_PIN 33
  458. #define STAT_LED_RED_PIN 32
  459. #define STAT_LED_BLUE_PIN 35
  460. #define BTN_EN1 22
  461. #define BTN_EN2 7
  462. #define BTN_ENC 39
  463. #define SD_DETECT_PIN -1 // Pin 49 for display sd interface, 72 for easy adapter board
  464. #define KILL_PIN 31
  465. #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
  466. #define DOGLCD_CS 29
  467. #define DOGLCD_A0 27
  468. #define BEEPER_PIN 23
  469. #define LCD_BACKLIGHT_PIN 33
  470. #define BTN_EN1 35
  471. #define BTN_EN2 37
  472. #define BTN_ENC 31
  473. #define LCD_SDSS SDSS
  474. #define SD_DETECT_PIN 49
  475. #define KILL_PIN 41
  476. #elif ENABLED(MKS_MINI_12864)
  477. #define DOGLCD_A0 27
  478. #define DOGLCD_CS 25
  479. // GLCD features
  480. // Uncomment screen orientation
  481. //#define LCD_SCREEN_ROT_90
  482. //#define LCD_SCREEN_ROT_180
  483. //#define LCD_SCREEN_ROT_270
  484. #define BEEPER_PIN 37
  485. // not connected to a pin
  486. #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
  487. #define BTN_EN1 31
  488. #define BTN_EN2 33
  489. #define BTN_ENC 35
  490. #define SD_DETECT_PIN 49
  491. #define KILL_PIN 64
  492. #elif ENABLED(MINIPANEL)
  493. #define BEEPER_PIN 42
  494. // not connected to a pin
  495. #define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
  496. #define DOGLCD_A0 44
  497. #define DOGLCD_CS 66
  498. // GLCD features
  499. // Uncomment screen orientation
  500. //#define LCD_SCREEN_ROT_90
  501. //#define LCD_SCREEN_ROT_180
  502. //#define LCD_SCREEN_ROT_270
  503. #define BTN_EN1 40
  504. #define BTN_EN2 63
  505. #define BTN_ENC 59
  506. #define SD_DETECT_PIN 49
  507. #define KILL_PIN 64
  508. #elif ENABLED(ZONESTAR_LCD)
  509. #define ADC_KEYPAD_PIN 12
  510. #elif ENABLED(AZSMZ_12864)
  511. // Pins only defined for RAMPS_SMART currently
  512. #else
  513. // Beeper on AUX-4
  514. #define BEEPER_PIN 33
  515. // Buttons are directly attached to AUX-2
  516. #if IS_RRW_KEYPAD
  517. #define SHIFT_OUT 40
  518. #define SHIFT_CLK 44
  519. #define SHIFT_LD 42
  520. #define BTN_EN1 64
  521. #define BTN_EN2 59
  522. #define BTN_ENC 63
  523. #elif ENABLED(PANEL_ONE)
  524. #define BTN_EN1 59 // AUX2 PIN 3
  525. #define BTN_EN2 63 // AUX2 PIN 4
  526. #define BTN_ENC 49 // AUX3 PIN 7
  527. #else
  528. #define BTN_EN1 37
  529. #define BTN_EN2 35
  530. #define BTN_ENC 31
  531. #endif
  532. #if ENABLED(G3D_PANEL)
  533. #define SD_DETECT_PIN 49
  534. #define KILL_PIN 41
  535. #endif
  536. #endif
  537. #endif // IS_NEWPANEL
  538. #endif // HAS_WIRED_LCD