123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
-
-
-
-
- #ifndef __AVR_ATmega2560__
- #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
- #endif
-
- #define X_STEP_PIN 49
- #define X_DIR_PIN 13
- #define X_ENABLE_PIN 48
- #define X_MIN_PIN 35
- #define X_MAX_PIN 34
-
- #define Y_STEP_PIN 11
- #define Y_DIR_PIN 9
- #define Y_ENABLE_PIN 12
- #define Y_MIN_PIN 33
- #define Y_MAX_PIN 32
-
- #define Z_STEP_PIN 7
- #define Z_DIR_PIN 6
- #define Z_ENABLE_PIN 8
- #define Z_MIN_PIN 31
- #define Z_MAX_PIN 30
-
- #define E2_STEP_PIN 43
- #define E2_DIR_PIN 47
- #define E2_ENABLE_PIN 42
-
- #define E1_STEP_PIN 18
- #define E1_DIR_PIN 19
- #define E1_ENABLE_PIN 38
-
- #define E0_STEP_PIN 40
- #define E0_DIR_PIN 41
- #define E0_ENABLE_PIN 37
-
- #define SDPOWER -1
- #define LED_PIN -1
-
- #define FAN_PIN 16
-
- #define PS_ON_PIN 10
- #define SLEEP_WAKE_PIN 26
-
- #define HEATER_0_PIN 45
- #define HEATER_1_PIN 46
- #define HEATER_2_PIN 17
- #define HEATER_BED_PIN 44
- #define TEMP_0_PIN 3
- #define TEMP_1_PIN 2
- #define TEMP_2_PIN 1
- #define TEMP_BED_PIN 0
-
- #define BEEPER_PIN 36
-
- #define KILL_PIN -1
-
-
-
- #define PHOTOGRAPH_PIN 29
-
- #if ENABLED(RA_CONTROL_PANEL)
-
- #define SDSS 53
- #define SD_DETECT_PIN 28
-
- #define BTN_EN1 14
- #define BTN_EN2 39
- #define BTN_ENC 15
-
- #define BLEN_C 2
- #define BLEN_B 1
- #define BLEN_A 0
-
- #endif
-
- #if ENABLED(RA_DISCO)
-
- #define TLC_CLOCK_PIN 25
- #define TLC_BLANK_PIN 23
- #define TLC_XLAT_PIN 22
- #define TLC_DATA_PIN 24
-
-
-
- #define TLC_CLOCK_BIT 3
- #define TLC_CLOCK_PORT &PORTA
-
- #define TLC_BLANK_BIT 1
- #define TLC_BLANK_PORT &PORTA
-
- #define TLC_DATA_BIT 2
- #define TLC_DATA_PORT &PORTA
-
- #define TLC_XLAT_BIT 0
- #define TLC_XLAT_PORT &PORTA
-
-
-
-
- #define NUM_TLCS 2
-
-
-
-
- #define TRANS_ARRAY {0, 1, 2, 3, 4, 5, 6, 7, 15, 14, 13, 12, 11, 10, 9, 8}
-
- #endif
|