Explorar el Código

In for a penny, in for a pound

Richard Wackerbarth hace 10 años
padre
commit
f32048b8f5
Se han modificado 3 ficheros con 83 adiciones y 83 borrados
  1. 15
    15
      Marlin/pins_AZTEEG_X3.h
  2. 62
    62
      Marlin/pins_MINIRAMBO.h
  3. 6
    6
      Marlin/pins_TEENSYLU.h

+ 15
- 15
Marlin/pins_AZTEEG_X3.h Ver fichero

@@ -8,24 +8,24 @@
8 8
 
9 9
 #if ENABLED(VIKI2) || ENABLED(miniVIKI)
10 10
 
11
- #define BEEPER_PIN 33
11
+  #define BEEPER_PIN        33
12 12
 
13 13
  // Pins for DOGM SPI LCD Support
14
- #define DOGLCD_A0  31 
15
- #define DOGLCD_CS  32 
16
- #define LCD_SCREEN_ROT_180
17
- 
18
- //The encoder and click button 
19
- #define BTN_EN1 22 
20
- #define BTN_EN2 7
21
- #define BTN_ENC 12  //the click switch
22
- 
23
- #define SDSS 53
24
- #define SDCARDDETECT -1 // Pin 49 if using display sd interface   
25
- 
14
+  #define DOGLCD_A0         31
15
+  #define DOGLCD_CS         32
16
+  #define LCD_SCREEN_ROT_180
17
+
18
+ //The encoder and click button
19
+  #define BTN_EN1           22
20
+  #define BTN_EN2            7
21
+  #define BTN_ENC           12  //the click switch
22
+
23
+  #define SDSS              53
24
+  #define SDCARDDETECT      -1  // Pin 49 if using display sd interface
25
+
26 26
   #if ENABLED(TEMP_STAT_LEDS)
27
-    #define STAT_LED_RED 64
28
-    #define STAT_LED_BLUE 63
27
+    #define STAT_LED_RED    64
28
+    #define STAT_LED_BLUE   63
29 29
   #endif
30 30
 
31 31
 #elif ENABLED(TEMP_STAT_LEDS)

+ 62
- 62
Marlin/pins_MINIRAMBO.h Ver fichero

@@ -3,10 +3,10 @@
3 3
  */
4 4
 
5 5
 #ifndef __AVR_ATmega2560__
6
-#error Oops!  Make sure you have 'Arduino Mega 2560 or Rambo' selected from the 'Tools -> Boards' menu.
6
+  #error Oops!  Make sure you have 'Arduino Mega 2560 or Rambo' selected from the 'Tools -> Boards' menu.
7 7
 #endif
8 8
 
9
-#define LARGE_FLASH true
9
+#define LARGE_FLASH         true
10 10
 
11 11
 
12 12
 #undef X_MS1_PIN
@@ -20,94 +20,94 @@
20 20
 #undef E1_MS1_PIN
21 21
 #undef E1_MS2_PIN
22 22
  
23
-#define X_STEP_PIN 37
24
-#define X_DIR_PIN 48
25
-#define X_MIN_PIN 12
26
-#define X_MAX_PIN 30
27
-#define X_ENABLE_PIN 29
28
-#define X_MS1_PIN 40
29
-#define X_MS2_PIN 41
30
-
31
-#define Y_STEP_PIN 36
32
-#define Y_DIR_PIN 49
33
-#define Y_MIN_PIN 11
34
-#define Y_MAX_PIN 24
35
-#define Y_ENABLE_PIN 28
36
-#define Y_MS1_PIN 69
37
-#define Y_MS2_PIN 39
38
-
39
-#define Z_STEP_PIN 35
40
-#define Z_DIR_PIN 47
41
-#define Z_MIN_PIN 10
42
-#define Z_MAX_PIN 23
43
-#define Z_ENABLE_PIN 27
44
-#define Z_MS1_PIN 68
45
-#define Z_MS2_PIN 67
46
-
47
-#define HEATER_BED_PIN 4
48
-#define TEMP_BED_PIN 2
49
-
50
-#define HEATER_0_PIN 3
51
-#define TEMP_0_PIN 0
52
-
53
-#define HEATER_1_PIN 7
54
-#define TEMP_1_PIN 1
23
+#define X_STEP_PIN          37
24
+#define X_DIR_PIN           48
25
+#define X_MIN_PIN           12
26
+#define X_MAX_PIN           30
27
+#define X_ENABLE_PIN        29
28
+#define X_MS1_PIN           40
29
+#define X_MS2_PIN           41
30
+
31
+#define Y_STEP_PIN          36
32
+#define Y_DIR_PIN           49
33
+#define Y_MIN_PIN           11
34
+#define Y_MAX_PIN           24
35
+#define Y_ENABLE_PIN        28
36
+#define Y_MS1_PIN           69
37
+#define Y_MS2_PIN           39
38
+
39
+#define Z_STEP_PIN          35
40
+#define Z_DIR_PIN           47
41
+#define Z_MIN_PIN           10
42
+#define Z_MAX_PIN           23
43
+#define Z_ENABLE_PIN        27
44
+#define Z_MS1_PIN           68
45
+#define Z_MS2_PIN           67
46
+
47
+#define HEATER_BED_PIN       4
48
+#define TEMP_BED_PIN         2
49
+
50
+#define HEATER_0_PIN         3
51
+#define TEMP_0_PIN           0
52
+
53
+#define HEATER_1_PIN         7
54
+#define TEMP_1_PIN           1
55 55
 
56 56
 #if ENABLED(BARICUDA)
57
-  #define HEATER_2_PIN 6
57
+  #define HEATER_2_PIN       6
58 58
 #else
59
-  #define HEATER_2_PIN -1
59
+  #define HEATER_2_PIN      -1
60 60
 #endif
61 61
 
62
-#define TEMP_2_PIN -1
62
+#define TEMP_2_PIN          -1
63 63
 
64 64
 #define E0_STEP_PIN         34
65 65
 #define E0_DIR_PIN          43
66 66
 #define E0_ENABLE_PIN       26
67
-#define E0_MS1_PIN 65
68
-#define E0_MS2_PIN 66
67
+#define E0_MS1_PIN          65
68
+#define E0_MS2_PIN          66
69 69
 
70 70
 #define E1_STEP_PIN         -1
71 71
 #define E1_DIR_PIN          -1
72 72
 #define E1_ENABLE_PIN       -1
73
-#define E1_MS1_PIN -1
74
-#define E1_MS2_PIN -1
73
+#define E1_MS1_PIN          -1
74
+#define E1_MS2_PIN          -1
75 75
 
76 76
 #define MOTOR_CURRENT_PWM_XY_PIN 46
77
-#define MOTOR_CURRENT_PWM_Z_PIN 45
78
-#define MOTOR_CURRENT_PWM_E_PIN 44
77
+#define MOTOR_CURRENT_PWM_Z_PIN  45
78
+#define MOTOR_CURRENT_PWM_E_PIN  44
79 79
 //Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
80 80
 #define MOTOR_CURRENT_PWM_RANGE 2000
81 81
 #define DEFAULT_PWM_MOTOR_CURRENT  {1300, 1300, 1250}
82
-#define SDPOWER            -1
83
-#define SDSS               53
84
-#define LED_PIN            13
85
-#define FAN_PIN            8
86
-#define FAN_1_PIN 6
87
-#define PS_ON_PIN          -1
88
-#define KILL_PIN           -1 //80 with Smart Controller LCD
89
-#define SUICIDE_PIN        -1  //PIN that has to be turned on right after start, to keep power flowing.
82
+#define SDPOWER             -1
83
+#define SDSS                53
84
+#define LED_PIN             13
85
+#define FAN_PIN              8
86
+#define FAN_1_PIN            6
87
+#define PS_ON_PIN           -1
88
+#define KILL_PIN            -1  // 80 with Smart Controller LCD
89
+#define SUICIDE_PIN         -1  // PIN that has to be turned on right after start, to keep power flowing.
90 90
 
91 91
 #if ENABLED(ULTRA_LCD)
92 92
 
93
-  #define KILL_PIN 32
93
+  #define KILL_PIN          32
94 94
 
95 95
   #if ENABLED(NEWPANEL)
96 96
 
97
-    #define BEEPER_PIN 84      // Beeper on AUX-4
98
-    #define LCD_PINS_RS 82
97
+    #define BEEPER_PIN      84  // Beeper on AUX-4
98
+    #define LCD_PINS_RS     82
99 99
     #define LCD_PINS_ENABLE 18
100
-    #define LCD_PINS_D4 19
101
-    #define LCD_PINS_D5 70
102
-    #define LCD_PINS_D6 85
103
-    #define LCD_PINS_D7 71
100
+    #define LCD_PINS_D4     19
101
+    #define LCD_PINS_D5     70
102
+    #define LCD_PINS_D6     85
103
+    #define LCD_PINS_D7     71
104 104
 
105 105
     //buttons are directly attached using AUX-2
106
-    #define BTN_EN1 14
107
-    #define BTN_EN2 72
108
-    #define BTN_ENC 9  //the click
106
+    #define BTN_EN1         14
107
+    #define BTN_EN2         72
108
+    #define BTN_ENC          9  // the click
109 109
 
110
-    #define SDCARDDETECT 15
110
+    #define SDCARDDETECT    15
111 111
 
112 112
   #endif //NEWPANEL
113 113
 #endif //ULTRA_LCD

+ 6
- 6
Marlin/pins_TEENSYLU.h Ver fichero

@@ -69,16 +69,16 @@
69 69
 
70 70
 #if ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL)
71 71
 
72
-  #define BEEPER_PIN -1
72
+  #define BEEPER_PIN       -1
73 73
 
74 74
   #if ENABLED(LCD_I2C_PANELOLU2)
75
-    #define BTN_EN1 27  //RX1 - fastio.h pin mapping 27
76
-    #define BTN_EN2 26  //TX1 - fastio.h pin mapping 26
77
-    #define BTN_ENC 43 //A3 - fastio.h pin mapping 43
78
-    #define SDSS   40 //use SD card on Panelolu2 (Teensyduino pin mapping)
75
+    #define BTN_EN1        27  //RX1 - fastio.h pin mapping 27
76
+    #define BTN_EN2        26  //TX1 - fastio.h pin mapping 26
77
+    #define BTN_ENC        43  //A3 - fastio.h pin mapping 43
78
+    #define SDSS           40  //use SD card on Panelolu2 (Teensyduino pin mapping)
79 79
   #endif // LCD_I2C_PANELOLU2
80 80
 
81
-  #define SDCARDDETECT -1    
81
+  #define SDCARDDETECT     -1
82 82
 
83 83
 #endif // ULTRA_LCD && NEWPANEL
84 84
 

Loading…
Cancelar
Guardar