Browse Source

Added Azteeg X3 board.

Erik van der Zalm 11 years ago
parent
commit
0dca49a7c0
2 changed files with 11 additions and 5 deletions
  1. 1
    0
      Marlin/Configuration.h
  2. 10
    5
      Marlin/pins.h

+ 1
- 0
Marlin/Configuration.h View File

@@ -45,6 +45,7 @@
45 45
 // 64 = STB V1.1
46 46
 // 65 = Azteeg X1
47 47
 // 66 = Melzi with ATmega1284 (MaKr3d version)
48
+// 67 = Azteeg X3
48 49
 // 7  = Ultimaker
49 50
 // 71 = Ultimaker (Older electronics. Pre 1.5.4. This is rare)
50 51
 // 77 = 3Drag Controller

+ 10
- 5
Marlin/pins.h View File

@@ -298,7 +298,7 @@
298 298
 * Arduino Mega pin assignment
299 299
 *
300 300
 ****************************************************************************************/
301
-#if MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 77
301
+#if MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 77 || MOTHERBOARD == 67
302 302
 #define KNOWN_BOARD 1
303 303
 
304 304
 //////////////////FIX THIS//////////////
@@ -314,7 +314,7 @@
314 314
 // #define RAMPS_V_1_0
315 315
 
316 316
 
317
-#if MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 77
317
+#if MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 77 || MOTHERBOARD == 67
318 318
 
319 319
   #define LARGE_FLASH true
320 320
   
@@ -392,7 +392,7 @@
392 392
     #define LED_PIN            13
393 393
   #endif
394 394
 
395
-  #if MOTHERBOARD == 33 || MOTHERBOARD == 35
395
+  #if MOTHERBOARD == 33 || MOTHERBOARD == 35 || MOTHERBOARD == 67
396 396
     #define FAN_PIN            9 // (Sprinter config)
397 397
   #else
398 398
     #define FAN_PIN            4 // IO pin. Buffer needed
@@ -420,7 +420,7 @@
420 420
     #define HEATER_0_PIN       10   // EXTRUDER 1
421 421
   #endif
422 422
 
423
-  #if MOTHERBOARD == 33 
423
+  #if MOTHERBOARD == 33 || MOTHERBOARD == 67
424 424
     #define HEATER_1_PIN       -1
425 425
   #else
426 426
     #define HEATER_1_PIN       9    // EXTRUDER 2 (FAN On Sprinter)
@@ -492,7 +492,12 @@
492 492
         #define SDSS 53
493 493
         #define SDCARDDETECT -1
494 494
         #define KILL_PIN 41
495
-              
495
+      #elif defined(LCD_I2C_VIKI)
496
+        #define BTN_EN1 22  //reverse if the encoder turns the wrong way.
497
+        #define BTN_EN2 7
498
+        #define BTN_ENC -1
499
+        #define SDSS 53
500
+        #define SDCARDDETECT 49
496 501
       #else
497 502
         //arduino pin which triggers an piezzo beeper
498 503
         #define BEEPER 33  // Beeper on AUX-4

Loading…
Cancel
Save