Open Source Tomb Raider Engine
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

plist.sh 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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 adjusted pin assignments
  24. *
  25. * MKS v1.3 (Extruder, Fan, Bed)
  26. * MKS v1.3 (Extruder, Extruder, Fan, Bed)
  27. * MKS v1.4 (Extruder, Fan, Bed)
  28. * MKS v1.4 (Extruder, Extruder, Fan, Bed)
  29. */
  30. #if HOTENDS > 2
  31. #error "MKS 1.3/1.4 supports up to 2 hotends. Comment this line to keep going."
  32. #endif
  33. #define BOARD_NAME "MKS > v1.3"
  34. //
  35. // Heaters / Fans
  36. //
  37. // Power outputs EFBF or EFBE
  38. #define MOSFET_D_PIN 7
  39. #include "pins_RAMPS.h"
  40. //
  41. // LCD / Controller
  42. //
  43. #if ENABLED(VIKI2) || ENABLED(miniVIKI)
  44. /**
  45. * VIKI2 Has two groups of wires with...
  46. *
  47. * +Vin + Input supply, requires 120ma for LCD and mSD card
  48. * GND Ground Pin
  49. * MOSI Data input for LCD and SD
  50. * MISO Data output for SD
  51. * SCK Clock for LCD and SD
  52. * AO Reg. Sel for LCD
  53. * LCS Chip Select for LCD
  54. * SDCS Chip Select for SD
  55. * SDCD Card Detect pin for SD
  56. * ENCA Encoder output A
  57. * ENCB Encoder output B
  58. * ENCBTN Encoder button switch
  59. *
  60. * BTN Panel mounted button switch
  61. * BUZZER Piezo buzzer
  62. * BLUE-LED Blue LED ring pin (3 to 5v, mosfet buffered)
  63. * RED-LED Red LED ring pin (3 to 5v, mosfet buffered)
  64. *
  65. * This configuration uses the following arrangement:
  66. *
  67. * EXP1 D37 = EN2 D35 = EN1 EXP2 D50 = MISO D52 = SCK
  68. * D17 = BLUE D16 = RED D31 = ENC D53 = SDCS
  69. * D23 = KILL D25 = BUZZ D33 = --- D51 = MOSI
  70. * D27 = A0 D29 = LCS D49 = SDCD RST = ---
  71. * GND = GND 5V = 5V GND = --- D41 = ---
  72. */
  73. #undef BTN_EN1
  74. #undef BTN_EN2
  75. #undef BTN_ENC
  76. #undef DOGLCD_A0
  77. #undef DOGLCD_CS
  78. #undef SD_DETECT_PIN
  79. #undef BEEPER_PIN
  80. #undef KILL_PIN
  81. //
  82. // VIKI2 12-wire lead
  83. //
  84. // orange/white SDCD
  85. #define SD_DETECT_PIN 49
  86. // white ENCA
  87. #define BTN_EN1 35
  88. // green ENCB
  89. #define BTN_EN2 37
  90. // purple ENCBTN
  91. #define BTN_ENC 31
  92. // brown A0
  93. #define DOGLCD_A0 27
  94. // green/white LCS
  95. #define DOGLCD_CS 29
  96. // 50 gray MISO
  97. // 51 yellow MOSI
  98. // 52 orange SCK
  99. // blue SDCS
  100. //#define SDSS 53
  101. //
  102. // VIKI2 4-wire lead
  103. //
  104. // blue BTN
  105. #define KILL_PIN 23
  106. // green BUZZER
  107. #define BEEPER_PIN 25
  108. // yellow RED-LED
  109. #define STAT_LED_RED_PIN 16
  110. // white BLUE-LED
  111. #define STAT_LED_BLUE_PIN 17
  112. #endif