Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef PINS_H
- #define PINS_H
- /****************************************************************************************
- * Sanguinololu pin assignment
- *
- ****************************************************************************************/
- #define SANGUINOLOLU_V_1_2
- #define KNOWN_BOARD 1
- #define X_STEP_PIN 21
- #define X_DIR_PIN 20
- #define X_MIN_PIN 7
- #define X_MAX_PIN -1 // 6
- #define Y_STEP_PIN 23
- #define Y_DIR_PIN 22
- #define Y_MIN_PIN 10 // eigentlich 5
- #define Y_MAX_PIN -1 // 10
- #define Z_STEP_PIN 26
- #define Z_DIR_PIN 25
- #define Z_MIN_PIN 12
- #define Z_MAX_PIN -1 // 11
- #define E_STEP_PIN 28
- #define E_DIR_PIN 27
- #define LED_PIN -1
- #define FAN_PIN 19
- #define PS_ON_PIN -1
- #define KILL_PIN -1
- #define HEATER_0_PIN 0 // (extruder)
- #ifdef SANGUINOLOLU_V_1_2
- #define HEATER_1_PIN 1 // (bed)
- #define X_ENABLE_PIN 24
- #define Y_ENABLE_PIN 24
- #define Z_ENABLE_PIN 24
- #define E_ENABLE_PIN 24
- #else
- #define HEATER_1_PIN 1 // (bed)
- #define X_ENABLE_PIN 24
- #define Y_ENABLE_PIN 24
- #define Z_ENABLE_PIN 24
- #define E_ENABLE_PIN 24
- #endif
- #define TEMP_0_PIN 2 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 33 extruder)
- #define TEMP_1_PIN 1 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 34 bed)
- #define SDPOWER -1
- #define SDSS -1
- #ifndef KNOWN_BOARD
- #error Unknown MOTHERBOARD value in configuration.h
- #endif
- #endif
Add Comment
Please, Sign In to add comment