Преглед изворни кода

Neaten up pins_MEGATRONICS.h (PR#2493)

Scott Lahteine пре 9 година
родитељ
комит
17960fd2b0
1 измењених фајлова са 19 додато и 22 уклоњено
  1. 19
    22
      Marlin/pins_MEGATRONICS.h

+ 19
- 22
Marlin/pins_MEGATRONICS.h Прегледај датотеку

@@ -39,19 +39,18 @@
39 39
 #define LED_PIN            13
40 40
 
41 41
 
42
-#define FAN_PIN            7 // IO pin. Buffer needed
42
+#define FAN_PIN             7   // IO pin. Buffer needed
43 43
 #define PS_ON_PIN          12
44 44
 #define KILL_PIN           -1
45 45
 
46
-#define HEATER_0_PIN       9    // EXTRUDER 1
47
-#define HEATER_1_PIN       8    // EXTRUDER 2 (FAN On Sprinter)
46
+#define HEATER_0_PIN        9
47
+#define HEATER_1_PIN        8
48 48
 #define HEATER_2_PIN       -1
49 49
 
50 50
 #if TEMP_SENSOR_0 == -1
51
-#define TEMP_0_PIN         8   // ANALOG NUMBERING
51
+  #define TEMP_0_PIN        8   // ANALOG NUMBERING
52 52
 #else
53
-#define TEMP_0_PIN         13   // ANALOG NUMBERING
54
-
53
+  #define TEMP_0_PIN       13   // ANALOG NUMBERING
55 54
 #endif
56 55
 
57 56
 #define TEMP_1_PIN         15   // ANALOG NUMBERING
@@ -59,28 +58,26 @@
59 58
 #define HEATER_BED_PIN     10   // BED
60 59
 #define TEMP_BED_PIN       14   // ANALOG NUMBERING
61 60
 
62
-#define BEEPER 33     // Beeper on AUX-4
63
-
61
+#define BEEPER             33   // AUX-4
64 62
 
65 63
 #if defined(ULTRA_LCD) && defined(NEWPANEL)
66
-  //arduino pin which triggers an piezzo beeper
67 64
 
68
-  #define LCD_PINS_RS 16
65
+  #define LCD_PINS_RS     16
69 66
   #define LCD_PINS_ENABLE 17
70
-  #define LCD_PINS_D4 23
71
-  #define LCD_PINS_D5 25
72
-  #define LCD_PINS_D6 27
73
-  #define LCD_PINS_D7 29
67
+  #define LCD_PINS_D4     23
68
+  #define LCD_PINS_D5     25
69
+  #define LCD_PINS_D6     27
70
+  #define LCD_PINS_D7     29
74 71
 
75
-  //buttons are directly attached using AUX-2
76
-  #define BTN_EN1 59
77
-  #define BTN_EN2 64
78
-  #define BTN_ENC 43  //the click
72
+  // Buttons directly attached using AUX-2
73
+  #define BTN_EN1         59
74
+  #define BTN_EN2         64
75
+  #define BTN_ENC         43
79 76
 
80
-  #define BLEN_C 2
81
-  #define BLEN_B 1
82
-  #define BLEN_A 0
77
+  #define BLEN_C           2
78
+  #define BLEN_B           1
79
+  #define BLEN_A           0
83 80
 
84
-  #define SDCARDDETECT -1   // Ramps does not use this port
81
+  #define SDCARDDETECT    -1   // RAMPS doesn't use this
85 82
 
86 83
 #endif // ULTRA_LCD && NEWPANEL

Loading…
Откажи
Сачувај