123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285 |
- #ifndef __AVR_AT90USB1286__
- #error "Oops! Make sure you have 'Teensy++ 2.0' or 'Printrboard' selected from the 'Tools -> Boards' menu."
- #endif
- #ifndef USBCON
- #error "USBCON should be defined by the platform for this board."
- #endif
- #define BOARD_NAME "Printrboard Rev.F"
- #define DISABLE_JTAG
- #define X_STOP_PIN 47
- #define Y_STOP_PIN 24
- #define Z_STOP_PIN 36
- #define X_STEP_PIN 28
- #define X_DIR_PIN 29
- #define X_ENABLE_PIN 19
- #define Y_STEP_PIN 30
- #define Y_DIR_PIN 31
- #define Y_ENABLE_PIN 18
- #define Z_STEP_PIN 32
- #define Z_DIR_PIN 33
- #define Z_ENABLE_PIN 17
- #define E0_STEP_PIN 34
- #define E0_DIR_PIN 35
- #define E0_ENABLE_PIN 13
- #if DISABLED(NO_EXTRUDRBOARD)
- #if DISABLED(NO_EXTRUDRBOARD_OUTPUT_SWAP)
- #define E1_STEP_PIN 25
- #define E1_DIR_PIN 37
- #define E1_ENABLE_PIN 42
- #define E2_STEP_PIN 2
- #define E2_DIR_PIN 3
- #define E2_ENABLE_PIN 43
- #else
- #define E1_STEP_PIN 2
- #define E1_DIR_PIN 3
- #define E1_ENABLE_PIN 43
- #define E2_STEP_PIN 25
- #define E2_DIR_PIN 37
- #define E2_ENABLE_PIN 42
- #endif
- #endif
- #define DAC_STEPPER_CURRENT
- #ifndef DAC_MOTOR_CURRENT_DEFAULT
- #define DAC_MOTOR_CURRENT_DEFAULT { 70, 70, 50, 70 }
- #endif
- #define DAC_STEPPER_ORDER { 3, 2, 1, 0 }
- #define DAC_STEPPER_SENSE 0.11
- #define DAC_STEPPER_ADDRESS 0
- #define DAC_STEPPER_MAX 3520
- #define DAC_STEPPER_VREF 1
- #define DAC_STEPPER_GAIN 0
- #define DAC_OR_ADDRESS 0x00
- #define TEMP_0_PIN 1
- #define TEMP_BED_PIN 0
- #if DISABLED(NO_EXTRUDRBOARD)
- #if DISABLED(NO_EXTRUDRBOARD_OUTPUT_SWAP)
- #define TEMP_1_PIN 2
- #define TEMP_2_PIN 3
- #else
- #define TEMP_1_PIN 3
- #define TEMP_2_PIN 2
- #endif
- #endif
- #define HEATER_0_PIN 15
- #define HEATER_BED_PIN 14
- #if DISABLED(NO_EXTRUDRBOARD)
- #if DISABLED(NO_EXTRUDRBOARD_OUTPUT_SWAP)
- #define HEATER_1_PIN 44
- #define HEATER_2_PIN 45
- #else
- #define HEATER_1_PIN 45
- #define HEATER_2_PIN 44
- #endif
- #endif
- #ifndef FAN_PIN
- #define FAN_PIN 16
- #endif
- #if ENABLED(ULTRA_LCD)
- #define LCD_PINS_RS 9
- #define LCD_PINS_ENABLE 8
- #define LCD_PINS_D4 7
- #define LCD_PINS_D5 6
- #define LCD_PINS_D6 5
- #define LCD_PINS_D7 4
- #if ENABLED(VIKI2) || ENABLED(miniVIKI)
- #define BEEPER_PIN 8
- #define DOGLCD_A0 40
- #define DOGLCD_CS 41
- #define LCD_SCREEN_ROT_180
- #define BTN_EN1 2
- #define BTN_EN2 3
- #define BTN_ENC 45
- #define SDSS 3
- #define STAT_LED_RED_PIN 12
- #define STAT_LED_BLUE_PIN 10
- #elif ENABLED(MINIPANEL)
- #if DISABLED(USE_INTERNAL_SD)
-
- #define SDSS 11
- #define SD_DETECT_PIN 9
- #endif
-
- #define DOGLCD_A0 4
- #define DOGLCD_CS 5
- #define BTN_ENC 6
- #define BEEPER_PIN 7
- #define KILL_PIN 8
- #define BTN_EN1 10
- #define BTN_EN2 12
-
-
-
-
-
- #ifndef ST7920_DELAY_1
- #define ST7920_DELAY_1 DELAY_NS(313)
- #endif
- #ifndef ST7920_DELAY_2
- #define ST7920_DELAY_2 DELAY_NS(313)
- #endif
- #ifndef ST7920_DELAY_3
- #define ST7920_DELAY_3 DELAY_NS(313)
- #endif
- #else
- #define BTN_EN1 10
- #define BTN_EN2 11
- #define BTN_ENC 12
- #endif
- #endif
- #ifndef SDSS
- #define SDSS 20
- #endif
- #ifndef FILWIDTH_PIN
- #define FILWIDTH_PIN 2
- #endif
|