2015-01-26 02:40:00 +00:00
|
|
|
/**
|
|
|
|
* 5DPrint D8 Driver board pin assignments
|
|
|
|
*
|
|
|
|
* https://bitbucket.org/makible/5dprint-d8-controller-board
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __AVR_AT90USB1286__
|
|
|
|
#error Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define LARGE_FLASH true
|
|
|
|
|
|
|
|
#define X_STEP_PIN 0
|
|
|
|
#define X_DIR_PIN 1
|
|
|
|
#define X_ENABLE_PIN 23
|
|
|
|
#define X_STOP_PIN 37
|
|
|
|
|
|
|
|
#define Y_STEP_PIN 2
|
|
|
|
#define Y_DIR_PIN 3
|
|
|
|
#define Y_ENABLE_PIN 19
|
|
|
|
#define Y_STOP_PIN 36
|
|
|
|
|
|
|
|
#define Z_STEP_PIN 4
|
|
|
|
#define Z_DIR_PIN 5
|
|
|
|
#define Z_ENABLE_PIN 18
|
|
|
|
#define Z_STOP_PIN 39
|
|
|
|
|
|
|
|
#define E0_STEP_PIN 6
|
|
|
|
#define E0_DIR_PIN 7
|
|
|
|
#define E0_ENABLE_PIN 17
|
|
|
|
|
|
|
|
#define HEATER_0_PIN 21 // Extruder
|
|
|
|
#define HEATER_1_PIN -1
|
|
|
|
#define HEATER_2_PIN -1
|
|
|
|
#define HEATER_BED_PIN 20 // Bed
|
|
|
|
// You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
|
|
|
|
// for the fan and Teensyduino uses a different pin mapping.
|
|
|
|
#define FAN_PIN 16 // Fan
|
|
|
|
|
|
|
|
#define TEMP_0_PIN 1 // Extruder / Analog pin numbering
|
|
|
|
#define TEMP_BED_PIN 0 // Bed / Analog pin numbering
|
|
|
|
|
|
|
|
#define TEMP_1_PIN -1
|
|
|
|
#define TEMP_2_PIN -1
|
|
|
|
|
|
|
|
#define SDPOWER -1
|
|
|
|
#define LED_PIN -1
|
|
|
|
#define PS_ON_PIN -1
|
|
|
|
#define KILL_PIN -1
|
|
|
|
|
|
|
|
// The SDSS pin uses a different pin mapping from file Sd2PinMap.h
|
|
|
|
#define SDSS 20
|
|
|
|
|
2015-07-31 05:11:19 +00:00
|
|
|
#if DISABLED(SDSUPPORT)
|
2015-10-03 06:08:58 +00:00
|
|
|
// these pins are defined in the SD library if building with SD support
|
2015-01-26 02:40:00 +00:00
|
|
|
#define SCK_PIN 9
|
|
|
|
#define MISO_PIN 11
|
|
|
|
#define MOSI_PIN 10
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Microstepping pins
|
|
|
|
// Note that the pin mapping is not from fastio.h
|
|
|
|
// See Sd2PinMap.h for the pin configurations
|
2015-03-28 03:29:05 +00:00
|
|
|
|
|
|
|
#undef X_MS1_PIN
|
|
|
|
#undef X_MS2_PIN
|
|
|
|
#undef Y_MS1_PIN
|
|
|
|
#undef Y_MS2_PIN
|
|
|
|
#undef Z_MS1_PIN
|
|
|
|
#undef Z_MS2_PIN
|
|
|
|
#undef E0_MS1_PIN
|
|
|
|
#undef E0_MS2_PIN
|
2015-01-26 02:40:00 +00:00
|
|
|
#define X_MS1_PIN 25
|
|
|
|
#define X_MS2_PIN 26
|
|
|
|
#define Y_MS1_PIN 9
|
|
|
|
#define Y_MS2_PIN 8
|
|
|
|
#define Z_MS1_PIN 7
|
|
|
|
#define Z_MS2_PIN 6
|
|
|
|
#define E0_MS1_PIN 5
|
|
|
|
#define E0_MS2_PIN 4
|
|
|
|
|