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.h 16KB

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