123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
-
-
- #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
- #error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
- #endif
-
- #define X_STEP_PIN 15
- #define X_DIR_PIN 21
- #define X_STOP_PIN 18
-
- #define Y_STEP_PIN 22
- #define Y_DIR_PIN 23
- #define Y_STOP_PIN 19
-
- #define Z_STEP_PIN 3
- #define Z_DIR_PIN 2
- #define Z_STOP_PIN 20
-
- #define E0_STEP_PIN 1
- #define E0_DIR_PIN 0
-
- #define LED_PIN -1
-
- #define FAN_PIN -1
-
-
-
-
-
- #if MB(MELZI)
- #define LED_PIN 27
- #define FAN_PIN 4
- #endif
-
- #if MB(STB_11)
- #define FAN_PIN 4
-
- #define LCD_PIN_BL 17
- #endif
-
- #if MB(AZTEEG_X1)
- #define FAN_PIN 4
- #endif
-
- #ifdef NUM_SERVOS
- #define SERVO0_PIN -1
-
- #if NUM_SERVOS > 1
- #define SERVO1_PIN -1
- #endif
-
- #if NUM_SERVOS > 2
- #define SERVO2_PIN -1
- #endif
-
- #if NUM_SERVOS > 3
- #define SERVO3_PIN -1
- #endif
- #endif
-
- #define PS_ON_PIN -1
- #define KILL_PIN -1
-
- #define HEATER_0_PIN 13
- #define HEATER_1_PIN -1
- #define HEATER_2_PIN -1
-
- #ifdef SANGUINOLOLU_V_1_2
-
- #define HEATER_BED_PIN 12
- #define X_ENABLE_PIN 14
- #define Y_ENABLE_PIN 14
- #define Z_ENABLE_PIN 26
- #define E0_ENABLE_PIN 14
-
- #ifdef LCD_I2C_PANELOLU2
- #define FAN_PIN 4
- #endif
-
- #else
-
- #define HEATER_BED_PIN 14
- #define X_ENABLE_PIN -1
- #define Y_ENABLE_PIN -1
- #define Z_ENABLE_PIN -1
- #define E0_ENABLE_PIN -1
-
- #endif
-
- #define TEMP_0_PIN 7
- #define TEMP_1_PIN -1
- #define TEMP_2_PIN -1
- #define TEMP_BED_PIN 6
- #define SDPOWER -1
- #define SDSS 31
-
-
-
-
- #ifdef ULTRA_LCD
- #ifdef NEWPANEL
-
- #define BEEPER -1
-
- #ifdef DOGLCD
- #ifdef U8GLIB_ST7920
- #define LCD_PINS_RS 30
- #define LCD_PINS_ENABLE 29
- #define LCD_PINS_D4 17
- #define BEEPER 27
- #else
-
- #define DOGLCD_A0 30
- #define DOGLCD_CS 29
- #define LCD_CONTRAST 1
- #endif
-
- #define LCD_SCREEN_ROT_0
-
-
-
- #else
- #define LCD_PINS_RS 4
- #define LCD_PINS_ENABLE 17
- #define LCD_PINS_D4 30
- #define LCD_PINS_D5 29
- #define LCD_PINS_D6 28
- #define LCD_PINS_D7 27
- #endif
-
- #define BTN_EN1 11
- #define BTN_EN2 10
- #ifdef LCD_I2C_PANELOLU2
- #if MB(MELZI)
- #define BTN_ENC 29
- #define LCD_SDSS 30
- #else
- #define BTN_ENC 30
- #endif
- #else
- #define BTN_ENC 16
- #define LCD_SDSS 28
- #endif
-
- #define SDCARDDETECT -1
-
- #endif
- #endif
-
- #ifdef MAKRPANEL
- #define BEEPER 29
-
- #define DOGLCD_A0 30
- #define DOGLCD_CS 17
- #define LCD_PIN_BL 28
-
- #define LCD_CONTRAST 1
-
- #define LCD_SCREEN_ROT_0
-
-
-
-
- #define BTN_EN1 11
- #define BTN_EN2 10
- #define BTN_ENC 16
-
- #define SDCARDDETECT -1
- #endif
|