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

+ 10
- 5
Marlin/pins.h View File

298
 * Arduino Mega pin assignment
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
 #define KNOWN_BOARD 1
302
 #define KNOWN_BOARD 1
303
 
303
 
304
 //////////////////FIX THIS//////////////
304
 //////////////////FIX THIS//////////////
314
 // #define RAMPS_V_1_0
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
   #define LARGE_FLASH true
319
   #define LARGE_FLASH true
320
   
320
   
392
     #define LED_PIN            13
392
     #define LED_PIN            13
393
   #endif
393
   #endif
394
 
394
 
395
-  #if MOTHERBOARD == 33 || MOTHERBOARD == 35
395
+  #if MOTHERBOARD == 33 || MOTHERBOARD == 35 || MOTHERBOARD == 67
396
     #define FAN_PIN            9 // (Sprinter config)
396
     #define FAN_PIN            9 // (Sprinter config)
397
   #else
397
   #else
398
     #define FAN_PIN            4 // IO pin. Buffer needed
398
     #define FAN_PIN            4 // IO pin. Buffer needed
420
     #define HEATER_0_PIN       10   // EXTRUDER 1
420
     #define HEATER_0_PIN       10   // EXTRUDER 1
421
   #endif
421
   #endif
422
 
422
 
423
-  #if MOTHERBOARD == 33 
423
+  #if MOTHERBOARD == 33 || MOTHERBOARD == 67
424
     #define HEATER_1_PIN       -1
424
     #define HEATER_1_PIN       -1
425
   #else
425
   #else
426
     #define HEATER_1_PIN       9    // EXTRUDER 2 (FAN On Sprinter)
426
     #define HEATER_1_PIN       9    // EXTRUDER 2 (FAN On Sprinter)
492
         #define SDSS 53
492
         #define SDSS 53
493
         #define SDCARDDETECT -1
493
         #define SDCARDDETECT -1
494
         #define KILL_PIN 41
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
       #else
501
       #else
497
         //arduino pin which triggers an piezzo beeper
502
         //arduino pin which triggers an piezzo beeper
498
         #define BEEPER 33  // Beeper on AUX-4
503
         #define BEEPER 33  // Beeper on AUX-4

Loading…
Cancel
Save