Browse Source

Viki 2 Pins from Manual

I added in the pins into the new board files for the Azteeg X3, X3 Pro,
Printrboard, and Rambo. I'm sure it can be added for others too but
these are the manual specified pins. Just like many things here though,
I can't test for the boards other than the Azteeg X3 Pro. Hopefully it
works smoothly for everyone who happens on this nifty display. :)
Natealus 9 years ago
parent
commit
234a9d0b12
4 changed files with 90 additions and 4 deletions
  1. 24
    4
      Marlin/pins_AZTEEG_X3.h
  2. 23
    0
      Marlin/pins_AZTEEG_X3_PRO.h
  3. 23
    0
      Marlin/pins_PRINTRBOARD.h
  4. 20
    0
      Marlin/pins_RAMBO.h

+ 24
- 4
Marlin/pins_AZTEEG_X3.h View File

@@ -4,13 +4,33 @@
4 4
 
5 5
 #include "pins_RAMPS_13.h"
6 6
 
7
-#undef FAN_PIN
8 7
 #define FAN_PIN            9 // (Sprinter config)
9
-
10
-#undef HEATER_1_PIN
11 8
 #define HEATER_1_PIN       -1
12 9
 
13
-#ifdef TEMP_STAT_LEDS
10
+//LCD Pins//
11
+
12
+#if defined(VIKI2) || defined(miniVIKI)
13
+ #define BEEPER 33
14
+ // Pins for DOGM SPI LCD Support
15
+ #define DOGLCD_A0  31 
16
+ #define DOGLCD_CS  32 
17
+ #define LCD_SCREEN_ROT_180
18
+ 
19
+ //The encoder and click button 
20
+ #define BTN_EN1 22 
21
+ #define BTN_EN2 7
22
+ #define BTN_ENC 12  //the click switch
23
+ 
24
+ #define SDSS 53
25
+ #define SDCARDDETECT -1 // Pin 49 if using display sd interface   
26
+ 
27
+  #ifdef TEMP_STAT_LEDS
28
+   #define STAT_LED_RED 64
29
+   #define STAT_LED_BLUE 63
30
+  #endif
31
+#endif
32
+
33
+#elif define TEMP_STAT_LEDS
14 34
   #define STAT_LED_RED       6
15 35
   #define STAT_LED_BLUE     11
16 36
 #endif

+ 23
- 0
Marlin/pins_AZTEEG_X3_PRO.h View File

@@ -88,3 +88,26 @@
88 88
     #endif
89 89
   #endif
90 90
 #endif
91
+
92
+//LCD Pins//
93
+
94
+#if defined(VIKI2) || defined(miniVIKI)
95
+ #define BEEPER 33
96
+ // Pins for DOGM SPI LCD Support
97
+ #define DOGLCD_A0  44
98
+ #define DOGLCD_CS  45
99
+ #define LCD_SCREEN_ROT_180
100
+ 
101
+ //The encoder and click button
102
+ #define BTN_EN1 22
103
+ #define BTN_EN2 7
104
+ #define BTN_ENC 39  //the click switch
105
+
106
+ #define SDSS 53
107
+ #define SDCARDDETECT 49
108
+ 
109
+ #define KILL_PIN 31
110
+ 
111
+ #define STAT_LED_RED       32
112
+ #define STAT_LED_BLUE      35
113
+#endif

+ 23
- 0
Marlin/pins_PRINTRBOARD.h View File

@@ -59,6 +59,8 @@
59 59
 #define TEMP_1_PIN         -1
60 60
 #define TEMP_2_PIN         -1
61 61
 
62
+////LCD Pin Setup////
63
+
62 64
 #define SDPOWER            -1
63 65
 #define SDSS                8
64 66
 #define LED_PIN            -1
@@ -86,3 +88,24 @@
86 88
   //not connected to a pin
87 89
   #define SDCARDDETECT -1    
88 90
 #endif // ULTRA_LCD && NEWPANEL
91
+
92
+#if defined(VIKI2) || defined(miniVIKI)
93
+ #define BEEPER 32 //FastIO
94
+ // Pins for DOGM SPI LCD Support
95
+ #define DOGLCD_A0  42 //Non-FastIO
96
+ #define DOGLCD_CS  43 //Non-FastIO
97
+ #define LCD_SCREEN_ROT_180
98
+ 
99
+ //The encoder and click button (FastIO Pins)
100
+ #define BTN_EN1 26 
101
+ #define BTN_EN2 27
102
+ #define BTN_ENC 47  //the click switch
103
+
104
+ #define SDSS 45
105
+ #define SDCARDDETECT -1 // FastIO (Manual says 72 I'm not certain cause I can't test) 
106
+
107
+ #ifdef TEMP_STAT_LEDS
108
+  #define STAT_LED_RED      12 //Non-FastIO
109
+  #define STAT_LED_BLUE     10 //Non-FastIO
110
+ #endif  
111
+#endif

+ 20
- 0
Marlin/pins_RAMBO.h View File

@@ -148,6 +148,26 @@
148 148
 
149 149
 #endif // ULTRA_LCD
150 150
 
151
+#if defined(VIKI2) || defined(miniVIKI)
152
+ #define BEEPER 44
153
+ // Pins for DOGM SPI LCD Support
154
+ #define DOGLCD_A0  70 
155
+ #define DOGLCD_CS  71 
156
+ #define LCD_SCREEN_ROT_180
157
+  
158
+ //The encoder and click button 
159
+ #define BTN_EN1 85 
160
+ #define BTN_EN2 84
161
+ #define BTN_ENC 83  //the click switch
162
+
163
+ #define SDCARDDETECT -1 // Pin 72 if using easy adapter board   
164
+
165
+  #ifdef TEMP_STAT_LEDS
166
+   #define STAT_LED_RED      22
167
+   #define STAT_LED_BLUE     32 
168
+  #endif
169
+#endif // VIKI2/miniVIKI
170
+
151 171
 #ifdef FILAMENT_SENSOR
152 172
   //Filip added pin for Filament sensor analog input 
153 173
   #define FILWIDTH_PIN        3

Loading…
Cancel
Save