Format some pins files
This commit is contained in:
committed by
Scott Lahteine
parent
9340a33980
commit
2c325c2a7d
@ -98,50 +98,50 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 18
|
||||
#define Y_STOP_PIN 19
|
||||
#define Z_STOP_PIN 20
|
||||
#define X_STOP_PIN 18
|
||||
#define Y_STOP_PIN 19
|
||||
#define Z_STOP_PIN 20
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 15
|
||||
#define X_DIR_PIN 21
|
||||
#define X_ENABLE_PIN 14
|
||||
#define X_STEP_PIN 15
|
||||
#define X_DIR_PIN 21
|
||||
#define X_ENABLE_PIN 14
|
||||
|
||||
#define Y_STEP_PIN 22
|
||||
#define Y_DIR_PIN 23
|
||||
#define Y_ENABLE_PIN 14
|
||||
#define Y_STEP_PIN 22
|
||||
#define Y_DIR_PIN 23
|
||||
#define Y_ENABLE_PIN 14
|
||||
|
||||
#define Z_STEP_PIN 3
|
||||
#define Z_DIR_PIN 2
|
||||
#define Z_ENABLE_PIN 26
|
||||
#define Z_STEP_PIN 3
|
||||
#define Z_DIR_PIN 2
|
||||
#define Z_ENABLE_PIN 26
|
||||
|
||||
#define E0_STEP_PIN 1
|
||||
#define E0_DIR_PIN 0
|
||||
#define E0_ENABLE_PIN 14
|
||||
#define E0_STEP_PIN 1
|
||||
#define E0_DIR_PIN 0
|
||||
#define E0_ENABLE_PIN 14
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 7 // Analog Input (pin 33 extruder)
|
||||
#define TEMP_BED_PIN 6 // Analog Input (pin 34 bed)
|
||||
#define TEMP_0_PIN 7 // Analog Input (pin 33 extruder)
|
||||
#define TEMP_BED_PIN 6 // Analog Input (pin 34 bed)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 13 // (extruder)
|
||||
#define HEATER_BED_PIN 12 // (bed)
|
||||
#define HEATER_0_PIN 13 // (extruder)
|
||||
#define HEATER_BED_PIN 12 // (bed)
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 4
|
||||
#define FAN_PIN 4
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 31
|
||||
#define LED_PIN -1
|
||||
#define SDSS 31
|
||||
#define LED_PIN -1
|
||||
|
||||
/**
|
||||
* LCD / Controller
|
||||
@ -153,36 +153,36 @@
|
||||
*/
|
||||
|
||||
#if HAS_SPI_LCD
|
||||
#define LCD_SDSS 28
|
||||
#define LCD_SDSS 28
|
||||
#if ENABLED(ADC_KEYPAD)
|
||||
#define SERVO0_PIN 27 // free for BLTouch/3D-Touch
|
||||
#define LCD_PINS_RS 28
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 10
|
||||
#define LCD_PINS_D5 11
|
||||
#define LCD_PINS_D6 16
|
||||
#define LCD_PINS_D7 17
|
||||
#define ADC_KEYPAD_PIN 1
|
||||
#define SERVO0_PIN 27 // free for BLTouch/3D-Touch
|
||||
#define LCD_PINS_RS 28
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 10
|
||||
#define LCD_PINS_D5 11
|
||||
#define LCD_PINS_D6 16
|
||||
#define LCD_PINS_D7 17
|
||||
#define ADC_KEYPAD_PIN 1
|
||||
#elif EITHER(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER, ANET_FULL_GRAPHICS_LCD)
|
||||
// Pin definitions for the Anet A6 Full Graphics display and the RepRapDiscount Full Graphics
|
||||
// display using an adapter board // https://go.aisler.net/benlye/anet-lcd-adapter/pcb
|
||||
// See below for alternative pin definitions for use with https://www.thingiverse.com/thing:2103748
|
||||
#define SERVO0_PIN 29 // free for BLTouch/3D-Touch
|
||||
#define BEEPER_PIN 17
|
||||
#define LCD_PINS_RS 27
|
||||
#define LCD_PINS_ENABLE 28
|
||||
#define LCD_PINS_D4 30
|
||||
#define BTN_EN1 11
|
||||
#define BTN_EN2 10
|
||||
#define BTN_ENC 16
|
||||
#define SERVO0_PIN 29 // free for BLTouch/3D-Touch
|
||||
#define BEEPER_PIN 17
|
||||
#define LCD_PINS_RS 27
|
||||
#define LCD_PINS_ENABLE 28
|
||||
#define LCD_PINS_D4 30
|
||||
#define BTN_EN1 11
|
||||
#define BTN_EN2 10
|
||||
#define BTN_ENC 16
|
||||
#define BOARD_ST7920_DELAY_1 DELAY_NS(0)
|
||||
#define BOARD_ST7920_DELAY_2 DELAY_NS(63)
|
||||
#define BOARD_ST7920_DELAY_3 DELAY_NS(125)
|
||||
#define STD_ENCODER_PULSES_PER_STEP 4
|
||||
#define STD_ENCODER_STEPS_PER_MENU_ITEM 1
|
||||
#define STD_ENCODER_PULSES_PER_STEP 4
|
||||
#define STD_ENCODER_STEPS_PER_MENU_ITEM 1
|
||||
#endif
|
||||
#else
|
||||
#define SERVO0_PIN 27
|
||||
#define SERVO0_PIN 27
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -55,47 +55,47 @@
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "Gen3 Monolithic"
|
||||
#define DEBUG_PIN 0
|
||||
#define DEBUG_PIN 0
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 20
|
||||
#define Y_STOP_PIN 25
|
||||
#define Z_STOP_PIN 30
|
||||
#define X_STOP_PIN 20
|
||||
#define Y_STOP_PIN 25
|
||||
#define Z_STOP_PIN 30
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 15
|
||||
#define X_DIR_PIN 18
|
||||
#define X_ENABLE_PIN 24 // actually uses Y_enable_pin
|
||||
#define X_STEP_PIN 15
|
||||
#define X_DIR_PIN 18
|
||||
#define X_ENABLE_PIN 24 // actually uses Y_enable_pin
|
||||
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24 // shared with X_enable_pin
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24 // shared with X_enable_pin
|
||||
|
||||
#define Z_STEP_PIN 27
|
||||
#define Z_DIR_PIN 28
|
||||
#define Z_ENABLE_PIN 29
|
||||
#define Z_STEP_PIN 27
|
||||
#define Z_DIR_PIN 28
|
||||
#define Z_ENABLE_PIN 29
|
||||
|
||||
#define E0_STEP_PIN 12
|
||||
#define E0_DIR_PIN 17
|
||||
#define E0_ENABLE_PIN 3
|
||||
#define E0_STEP_PIN 12
|
||||
#define E0_DIR_PIN 17
|
||||
#define E0_ENABLE_PIN 3
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 0 // Analog Input
|
||||
#define TEMP_0_PIN 0 // Analog Input
|
||||
|
||||
//
|
||||
// Heaters
|
||||
//
|
||||
#define HEATER_0_PIN 16
|
||||
#define HEATER_0_PIN 16
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define PS_ON_PIN 14 // Alex, does this work on the card?
|
||||
#define PS_ON_PIN 14 // Alex, does this work on the card?
|
||||
|
||||
// Alex extras from Gen3+
|
||||
|
@ -50,7 +50,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
|
||||
#endif
|
||||
@ -60,43 +59,43 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 20
|
||||
#define Y_STOP_PIN 25
|
||||
#define Z_STOP_PIN 30
|
||||
#define X_STOP_PIN 20
|
||||
#define Y_STOP_PIN 25
|
||||
#define Z_STOP_PIN 30
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 15
|
||||
#define X_DIR_PIN 18
|
||||
#define X_ENABLE_PIN 19
|
||||
#define X_STEP_PIN 15
|
||||
#define X_DIR_PIN 18
|
||||
#define X_ENABLE_PIN 19
|
||||
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24
|
||||
|
||||
#define Z_STEP_PIN 27
|
||||
#define Z_DIR_PIN 28
|
||||
#define Z_ENABLE_PIN 29
|
||||
#define Z_STEP_PIN 27
|
||||
#define Z_DIR_PIN 28
|
||||
#define Z_ENABLE_PIN 29
|
||||
|
||||
#define E0_STEP_PIN 17
|
||||
#define E0_DIR_PIN 21
|
||||
#define E0_ENABLE_PIN 13
|
||||
#define E0_STEP_PIN 17
|
||||
#define E0_DIR_PIN 21
|
||||
#define E0_ENABLE_PIN 13
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 0 // Analog Input (pin 33 extruder)
|
||||
#define TEMP_BED_PIN 5 // Analog Input (pin 34 bed)
|
||||
#define TEMP_0_PIN 0 // Analog Input (pin 33 extruder)
|
||||
#define TEMP_BED_PIN 5 // Analog Input (pin 34 bed)
|
||||
|
||||
//
|
||||
// Heaters
|
||||
//
|
||||
#define HEATER_0_PIN 12
|
||||
#define HEATER_BED_PIN 16
|
||||
#define HEATER_0_PIN 12
|
||||
#define HEATER_BED_PIN 16
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 4
|
||||
#define PS_ON_PIN 14
|
||||
#define SDSS 4
|
||||
#define PS_ON_PIN 14
|
||||
|
@ -63,58 +63,58 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 20
|
||||
#define Y_STOP_PIN 25
|
||||
#define Z_STOP_PIN 30
|
||||
#define X_STOP_PIN 20
|
||||
#define Y_STOP_PIN 25
|
||||
#define Z_STOP_PIN 30
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 15
|
||||
#define X_DIR_PIN 18
|
||||
#define X_ENABLE_PIN 19
|
||||
#define X_STEP_PIN 15
|
||||
#define X_DIR_PIN 18
|
||||
#define X_ENABLE_PIN 19
|
||||
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24
|
||||
|
||||
#define Z_STEP_PIN 27
|
||||
#define Z_DIR_PIN 28
|
||||
#define Z_ENABLE_PIN 29
|
||||
#define Z_STEP_PIN 27
|
||||
#define Z_DIR_PIN 28
|
||||
#define Z_ENABLE_PIN 29
|
||||
|
||||
#define E0_STEP_PIN 4 // Edited @ EJE Electronics 20100715
|
||||
#define E0_DIR_PIN 2 // Edited @ EJE Electronics 20100715
|
||||
#define E0_ENABLE_PIN 3 // Added @ EJE Electronics 20100715
|
||||
#define E0_STEP_PIN 4 // Edited @ EJE Electronics 20100715
|
||||
#define E0_DIR_PIN 2 // Edited @ EJE Electronics 20100715
|
||||
#define E0_ENABLE_PIN 3 // Added @ EJE Electronics 20100715
|
||||
|
||||
//
|
||||
// Temperature Sensor
|
||||
//
|
||||
#define TEMP_0_PIN 5 // Analog Input
|
||||
#define TEMP_0_PIN 5 // Analog Input
|
||||
|
||||
//
|
||||
// Heaters
|
||||
//
|
||||
#define HEATER_0_PIN 14 // changed @ rkoeppl 20110410
|
||||
#define HEATER_0_PIN 14 // changed @ rkoeppl 20110410
|
||||
|
||||
#if !MB(GEN6)
|
||||
#define HEATER_BED_PIN 1 // changed @ rkoeppl 20110410
|
||||
#define TEMP_BED_PIN 0 // Analog Input
|
||||
#define HEATER_BED_PIN 1 // changed @ rkoeppl 20110410
|
||||
#define TEMP_BED_PIN 0 // Analog Input
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 17
|
||||
#define DEBUG_PIN 0
|
||||
#define CASE_LIGHT_PIN 16 // Hardware PWM
|
||||
#define SDSS 17
|
||||
#define DEBUG_PIN 0
|
||||
#define CASE_LIGHT_PIN 16 // Hardware PWM
|
||||
|
||||
// RS485 pins
|
||||
#define TX_ENABLE_PIN 12
|
||||
#define RX_ENABLE_PIN 13
|
||||
#define TX_ENABLE_PIN 12
|
||||
#define RX_ENABLE_PIN 13
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#define SPINDLE_LASER_ENA_PIN 5 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 16 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 6
|
||||
#define SPINDLE_LASER_ENA_PIN 5 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 16 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 6
|
||||
|
@ -61,90 +61,89 @@
|
||||
#endif
|
||||
|
||||
#ifndef GEN7_VERSION
|
||||
#define GEN7_VERSION 12 // v1.x
|
||||
#define GEN7_VERSION 12 // v1.x
|
||||
#endif
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 7
|
||||
#define Y_MIN_PIN 5
|
||||
#define Z_MIN_PIN 1
|
||||
#define Z_MAX_PIN 0
|
||||
#define Y_MAX_PIN 2
|
||||
#define X_MAX_PIN 6
|
||||
|
||||
#define X_MIN_PIN 7
|
||||
#define Y_MIN_PIN 5
|
||||
#define Z_MIN_PIN 1
|
||||
#define Z_MAX_PIN 0
|
||||
#define Y_MAX_PIN 2
|
||||
#define X_MAX_PIN 6
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 0
|
||||
#define Z_MIN_PROBE_PIN 0
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 19
|
||||
#define X_DIR_PIN 18
|
||||
#define X_ENABLE_PIN 24
|
||||
#define X_STEP_PIN 19
|
||||
#define X_DIR_PIN 18
|
||||
#define X_ENABLE_PIN 24
|
||||
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24
|
||||
|
||||
#define Z_STEP_PIN 26
|
||||
#define Z_DIR_PIN 25
|
||||
#define Z_ENABLE_PIN 24
|
||||
#define Z_STEP_PIN 26
|
||||
#define Z_DIR_PIN 25
|
||||
#define Z_ENABLE_PIN 24
|
||||
|
||||
#define E0_STEP_PIN 28
|
||||
#define E0_DIR_PIN 27
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_STEP_PIN 28
|
||||
#define E0_DIR_PIN 27
|
||||
#define E0_ENABLE_PIN 24
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 1 // Analog Input
|
||||
#define TEMP_BED_PIN 2 // Analog Input
|
||||
#define TEMP_0_PIN 1 // Analog Input
|
||||
#define TEMP_BED_PIN 2 // Analog Input
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 4
|
||||
#define HEATER_BED_PIN 3
|
||||
#define HEATER_0_PIN 4
|
||||
#define HEATER_BED_PIN 3
|
||||
|
||||
#if !defined(FAN_PIN) && GEN7_VERSION < 13 // Gen7 v1.3 removed the fan pin
|
||||
#define FAN_PIN 31
|
||||
#if !defined(FAN_PIN) && GEN7_VERSION < 13 // Gen7 v1.3 removed the fan pin
|
||||
#define FAN_PIN 31
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define PS_ON_PIN 15
|
||||
#define PS_ON_PIN 15
|
||||
|
||||
#if GEN7_VERSION < 13
|
||||
#define CASE_LIGHT_PIN 16 // Hardware PWM
|
||||
#else // Gen7 v1.3 removed the I2C connector & signals so need to get PWM off the PC power supply header
|
||||
#define CASE_LIGHT_PIN 15 // Hardware PWM
|
||||
#define CASE_LIGHT_PIN 16 // Hardware PWM
|
||||
#else // Gen7 v1.3 removed the I2C connector & signals so need to get PWM off the PC power supply header
|
||||
#define CASE_LIGHT_PIN 15 // Hardware PWM
|
||||
#endif
|
||||
|
||||
// All these generations of Gen7 supply thermistor power
|
||||
// via PS_ON, so ignore bad thermistor readings
|
||||
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
|
||||
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
|
||||
|
||||
#define DEBUG_PIN 0
|
||||
#define DEBUG_PIN 0
|
||||
|
||||
// RS485 pins
|
||||
#define TX_ENABLE_PIN 12
|
||||
#define RX_ENABLE_PIN 13
|
||||
#define TX_ENABLE_PIN 12
|
||||
#define RX_ENABLE_PIN 13
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#define SPINDLE_LASER_ENA_PIN 10 // Pullup or pulldown!
|
||||
#define SPINDLE_DIR_PIN 11
|
||||
#define SPINDLE_LASER_ENA_PIN 10 // Pullup or pulldown!
|
||||
#define SPINDLE_DIR_PIN 11
|
||||
#if GEN7_VERSION < 13
|
||||
#define SPINDLE_LASER_PWM_PIN 16 // Hardware PWM
|
||||
#else // Gen7 v1.3 removed the I2C connector & signals so need to get PWM off the PC power supply header
|
||||
#define SPINDLE_LASER_PWM_PIN 15 // Hardware PWM
|
||||
#define SPINDLE_LASER_PWM_PIN 16 // Hardware PWM
|
||||
#else // Gen7 v1.3 removed the I2C connector & signals so need to get PWM off the PC power supply header
|
||||
#define SPINDLE_LASER_PWM_PIN 15 // Hardware PWM
|
||||
#endif
|
||||
|
@ -58,62 +58,62 @@
|
||||
|
||||
#define BOARD_INFO_NAME "Gen7 v1.4"
|
||||
|
||||
#define GEN7_VERSION 14 // v1.4
|
||||
#define GEN7_VERSION 14 // v1.4
|
||||
|
||||
//
|
||||
// Limit switches
|
||||
//
|
||||
#define X_STOP_PIN 0
|
||||
#define Y_STOP_PIN 1
|
||||
#define Z_STOP_PIN 2
|
||||
#define X_STOP_PIN 0
|
||||
#define Y_STOP_PIN 1
|
||||
#define Z_STOP_PIN 2
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 29
|
||||
#define X_DIR_PIN 28
|
||||
#define X_ENABLE_PIN 25
|
||||
#define X_STEP_PIN 29
|
||||
#define X_DIR_PIN 28
|
||||
#define X_ENABLE_PIN 25
|
||||
|
||||
#define Y_STEP_PIN 27
|
||||
#define Y_DIR_PIN 26
|
||||
#define Y_ENABLE_PIN 25
|
||||
#define Y_STEP_PIN 27
|
||||
#define Y_DIR_PIN 26
|
||||
#define Y_ENABLE_PIN 25
|
||||
|
||||
#define Z_STEP_PIN 23
|
||||
#define Z_DIR_PIN 22
|
||||
#define Z_ENABLE_PIN 25
|
||||
#define Z_STEP_PIN 23
|
||||
#define Z_DIR_PIN 22
|
||||
#define Z_ENABLE_PIN 25
|
||||
|
||||
#define E0_STEP_PIN 19
|
||||
#define E0_DIR_PIN 18
|
||||
#define E0_ENABLE_PIN 25
|
||||
#define E0_STEP_PIN 19
|
||||
#define E0_DIR_PIN 18
|
||||
#define E0_ENABLE_PIN 25
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 1 // Analog Input
|
||||
#define TEMP_BED_PIN 0 // Analog Input
|
||||
#define TEMP_0_PIN 1 // Analog Input
|
||||
#define TEMP_BED_PIN 0 // Analog Input
|
||||
|
||||
//
|
||||
// Heaters
|
||||
//
|
||||
#define HEATER_0_PIN 4
|
||||
#define HEATER_BED_PIN 3
|
||||
#define HEATER_0_PIN 4
|
||||
#define HEATER_BED_PIN 3
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define PS_ON_PIN 15
|
||||
#define CASE_LIGHT_PIN 15 // Hardware PWM
|
||||
#define PS_ON_PIN 15
|
||||
#define CASE_LIGHT_PIN 15 // Hardware PWM
|
||||
|
||||
// A pin for debugging
|
||||
#define DEBUG_PIN 0
|
||||
#define DEBUG_PIN 0
|
||||
|
||||
// RS485 pins
|
||||
#define TX_ENABLE_PIN 12
|
||||
#define RX_ENABLE_PIN 13
|
||||
#define TX_ENABLE_PIN 12
|
||||
#define RX_ENABLE_PIN 13
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#define SPINDLE_LASER_ENA_PIN 20 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 16 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 21
|
||||
#define SPINDLE_LASER_ENA_PIN 20 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 16 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 21
|
||||
|
@ -64,76 +64,76 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 0
|
||||
#define Y_STOP_PIN 1
|
||||
#define Z_STOP_PIN 2
|
||||
#define X_STOP_PIN 0
|
||||
#define Y_STOP_PIN 1
|
||||
#define Z_STOP_PIN 2
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 21 // different from standard GEN7
|
||||
#define X_DIR_PIN 20 // different from standard GEN7
|
||||
#define X_ENABLE_PIN 24
|
||||
#define X_STEP_PIN 21 // different from standard GEN7
|
||||
#define X_DIR_PIN 20 // different from standard GEN7
|
||||
#define X_ENABLE_PIN 24
|
||||
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24
|
||||
|
||||
#define Z_STEP_PIN 26
|
||||
#define Z_DIR_PIN 25
|
||||
#define Z_ENABLE_PIN 24
|
||||
#define Z_STEP_PIN 26
|
||||
#define Z_DIR_PIN 25
|
||||
#define Z_ENABLE_PIN 24
|
||||
|
||||
#define E0_STEP_PIN 28
|
||||
#define E0_DIR_PIN 27
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_STEP_PIN 28
|
||||
#define E0_DIR_PIN 27
|
||||
#define E0_ENABLE_PIN 24
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 2 // Analog Input
|
||||
#define TEMP_BED_PIN 1 // Analog Input (pin 34 bed)
|
||||
#define TEMP_0_PIN 2 // Analog Input
|
||||
#define TEMP_BED_PIN 1 // Analog Input (pin 34 bed)
|
||||
|
||||
//
|
||||
// Heaters
|
||||
//
|
||||
#define HEATER_0_PIN 4
|
||||
#define HEATER_BED_PIN 3 // (bed)
|
||||
#define HEATER_0_PIN 4
|
||||
#define HEATER_BED_PIN 3 // (bed)
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 31 // SCL pin of I2C header || CS Pin for SD Card support
|
||||
#define PS_ON_PIN 19
|
||||
#define CASE_LIGHT_PIN 15 // Hardware PWM
|
||||
#define SDSS 31 // SCL pin of I2C header || CS Pin for SD Card support
|
||||
#define PS_ON_PIN 19
|
||||
#define CASE_LIGHT_PIN 15 // Hardware PWM
|
||||
|
||||
// A pin for debugging
|
||||
#define DEBUG_PIN -1
|
||||
#define DEBUG_PIN -1
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#define BEEPER_PIN -1
|
||||
#define BEEPER_PIN -1
|
||||
|
||||
// 4bit LCD Support
|
||||
#define LCD_PINS_RS 18
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 16
|
||||
#define LCD_PINS_D5 15
|
||||
#define LCD_PINS_D6 13
|
||||
#define LCD_PINS_D7 14
|
||||
#define LCD_PINS_RS 18
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 16
|
||||
#define LCD_PINS_D5 15
|
||||
#define LCD_PINS_D6 13
|
||||
#define LCD_PINS_D7 14
|
||||
|
||||
// Buttons are directly attached
|
||||
#define BTN_EN1 11
|
||||
#define BTN_EN2 10
|
||||
#define BTN_ENC 12
|
||||
#define BTN_EN1 11
|
||||
#define BTN_EN2 10
|
||||
#define BTN_ENC 12
|
||||
|
||||
// RS485 pins
|
||||
//#define TX_ENABLE_PIN 12
|
||||
//#define RX_ENABLE_PIN 13
|
||||
//#define TX_ENABLE_PIN 12
|
||||
//#define RX_ENABLE_PIN 13
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#define SPINDLE_LASER_ENA_PIN 5 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 16 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 6
|
||||
#define SPINDLE_LASER_ENA_PIN 5 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 16 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 6
|
||||
|
@ -46,15 +46,15 @@
|
||||
#undef LCD_PINS_D5
|
||||
#undef LCD_PINS_D6
|
||||
#undef LCD_PINS_D7
|
||||
#undef FIL_RUNOUT_PIN // Uses Beeper/LED Pin Pulled to GND
|
||||
#undef FIL_RUNOUT_PIN // Uses Beeper/LED Pin Pulled to GND
|
||||
|
||||
#define LCD_SDSS 31 // Smart Controller SD card reader (rather than the Melzi)
|
||||
#define LCD_PINS_RS 28 // ST9720 CS
|
||||
#define LCD_PINS_ENABLE 17 // ST9720 DAT
|
||||
#define LCD_PINS_D4 30 // ST9720 CLK
|
||||
#define LCD_SDSS 31 // Smart Controller SD card reader (rather than the Melzi)
|
||||
#define LCD_PINS_RS 28 // ST9720 CS
|
||||
#define LCD_PINS_ENABLE 17 // ST9720 DAT
|
||||
#define LCD_PINS_D4 30 // ST9720 CLK
|
||||
|
||||
#if ENABLED(BLTOUCH)
|
||||
#define SERVO0_PIN 27
|
||||
#define SERVO0_PIN 27
|
||||
#undef BEEPER_PIN
|
||||
#endif
|
||||
|
||||
@ -67,7 +67,7 @@
|
||||
|
||||
#if ENABLED(MINIPANEL)
|
||||
#undef DOGLCD_CS
|
||||
#define DOGLCD_CS LCD_PINS_RS
|
||||
#define DOGLCD_CS LCD_PINS_RS
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -36,12 +36,12 @@
|
||||
#undef BTN_EN2
|
||||
#undef BTN_ENC
|
||||
|
||||
#define LCD_PINS_RS 17 // ST9720 CS
|
||||
#define LCD_PINS_ENABLE 16 // ST9720 DAT
|
||||
#define LCD_PINS_D4 11 // ST9720 CLK
|
||||
#define BTN_EN1 30
|
||||
#define BTN_EN2 29
|
||||
#define BTN_ENC 28
|
||||
#define LCD_PINS_RS 17 // ST9720 CS
|
||||
#define LCD_PINS_ENABLE 16 // ST9720 DAT
|
||||
#define LCD_PINS_D4 11 // ST9720 CLK
|
||||
#define BTN_EN1 30
|
||||
#define BTN_EN2 29
|
||||
#define BTN_ENC 28
|
||||
|
||||
// Alter timing for graphical display
|
||||
#if HAS_GRAPHICAL_LCD
|
||||
|
@ -40,16 +40,16 @@
|
||||
#undef BTN_ENC
|
||||
#undef LCD_SDSS
|
||||
|
||||
#define Z_ENABLE_PIN 14
|
||||
#define LCD_PINS_RS 30
|
||||
#define LCD_PINS_ENABLE 28
|
||||
#define LCD_PINS_D4 16
|
||||
#define LCD_PINS_D5 17
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_D7 29
|
||||
#define BTN_EN1 10
|
||||
#define BTN_EN2 11
|
||||
#define BTN_ENC 26
|
||||
#define Z_ENABLE_PIN 14
|
||||
#define LCD_PINS_RS 30
|
||||
#define LCD_PINS_ENABLE 28
|
||||
#define LCD_PINS_D4 16
|
||||
#define LCD_PINS_D5 17
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_D7 29
|
||||
#define BTN_EN1 10
|
||||
#define BTN_EN2 11
|
||||
#define BTN_ENC 26
|
||||
|
||||
#if HAS_GRAPHICAL_LCD
|
||||
#define BOARD_ST7920_DELAY_1 DELAY_NS(0)
|
||||
|
@ -86,66 +86,66 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 0
|
||||
#define Y_STOP_PIN 1
|
||||
#define Z_STOP_PIN 2
|
||||
#define X_STOP_PIN 0
|
||||
#define Y_STOP_PIN 1
|
||||
#define Z_STOP_PIN 2
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 26
|
||||
#define X_DIR_PIN 25
|
||||
#define X_ENABLE_PIN 10
|
||||
#define X_STEP_PIN 26
|
||||
#define X_DIR_PIN 25
|
||||
#define X_ENABLE_PIN 10
|
||||
|
||||
#define Y_STEP_PIN 28
|
||||
#define Y_DIR_PIN 27
|
||||
#define Y_ENABLE_PIN 10
|
||||
#define Y_STEP_PIN 28
|
||||
#define Y_DIR_PIN 27
|
||||
#define Y_ENABLE_PIN 10
|
||||
|
||||
#define Z_STEP_PIN 23
|
||||
#define Z_DIR_PIN 22
|
||||
#define Z_ENABLE_PIN 10
|
||||
#define Z_STEP_PIN 23
|
||||
#define Z_DIR_PIN 22
|
||||
#define Z_ENABLE_PIN 10
|
||||
|
||||
#define E0_STEP_PIN 24
|
||||
#define E0_DIR_PIN 21
|
||||
#define E0_ENABLE_PIN 10
|
||||
#define E0_STEP_PIN 24
|
||||
#define E0_DIR_PIN 21
|
||||
#define E0_ENABLE_PIN 10
|
||||
|
||||
#define E1_STEP_PIN -1 // 21
|
||||
#define E1_DIR_PIN -1 // 20
|
||||
#define E1_ENABLE_PIN -1 // 19
|
||||
#define E1_STEP_PIN -1 // 21
|
||||
#define E1_DIR_PIN -1 // 20
|
||||
#define E1_ENABLE_PIN -1 // 19
|
||||
|
||||
#define E2_STEP_PIN -1 // 21
|
||||
#define E2_DIR_PIN -1 // 20
|
||||
#define E2_ENABLE_PIN -1 // 18
|
||||
#define E2_STEP_PIN -1 // 21
|
||||
#define E2_DIR_PIN -1 // 20
|
||||
#define E2_ENABLE_PIN -1 // 18
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 0 // Analog Input
|
||||
#define TEMP_1_PIN 1 // Analog Input
|
||||
#define TEMP_BED_PIN 2 // Analog Input (1,2 or I2C)
|
||||
#define TEMP_0_PIN 0 // Analog Input
|
||||
#define TEMP_1_PIN 1 // Analog Input
|
||||
#define TEMP_BED_PIN 2 // Analog Input (1,2 or I2C)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 3 // DONE PWM on RIGHT connector
|
||||
#define HEATER_BED_PIN 4
|
||||
#define HEATER_0_PIN 3 // DONE PWM on RIGHT connector
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 14 // PWM on MIDDLE connector
|
||||
#define FAN_PIN 14 // PWM on MIDDLE connector
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 11
|
||||
#define SDSS 11
|
||||
|
||||
#define I2C_SCL_PIN 16
|
||||
#define I2C_SDA_PIN 17
|
||||
#define I2C_SCL_PIN 16
|
||||
#define I2C_SDA_PIN 17
|
||||
|
||||
// future proofing
|
||||
#define __FS 20
|
||||
#define __FD 19
|
||||
#define __GS 18
|
||||
#define __GD 13
|
||||
#define __FS 20
|
||||
#define __FD 19
|
||||
#define __GS 18
|
||||
#define __GD 13
|
||||
|
||||
#define UNUSED_PWM 14 // PWM on LEFT connector
|
||||
#define UNUSED_PWM 14 // PWM on LEFT connector
|
||||
|
@ -85,54 +85,54 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 0
|
||||
#define Y_STOP_PIN 1
|
||||
#define Z_STOP_PIN 2
|
||||
#define X_STOP_PIN 0
|
||||
#define Y_STOP_PIN 1
|
||||
#define Z_STOP_PIN 2
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 21
|
||||
#define X_DIR_PIN 20
|
||||
#define X_ENABLE_PIN 24
|
||||
#define X_STEP_PIN 21
|
||||
#define X_DIR_PIN 20
|
||||
#define X_ENABLE_PIN 24
|
||||
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24
|
||||
|
||||
#define Z_STEP_PIN 26
|
||||
#define Z_DIR_PIN 25
|
||||
#define Z_ENABLE_PIN 24
|
||||
#define Z_STEP_PIN 26
|
||||
#define Z_DIR_PIN 25
|
||||
#define Z_ENABLE_PIN 24
|
||||
|
||||
#define E0_STEP_PIN 28
|
||||
#define E0_DIR_PIN 27
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_STEP_PIN 28
|
||||
#define E0_DIR_PIN 27
|
||||
#define E0_ENABLE_PIN 24
|
||||
|
||||
#define E1_STEP_PIN -1 // 19
|
||||
#define E1_DIR_PIN -1 // 18
|
||||
#define E1_ENABLE_PIN 24
|
||||
#define E1_STEP_PIN -1 // 19
|
||||
#define E1_DIR_PIN -1 // 18
|
||||
#define E1_ENABLE_PIN 24
|
||||
|
||||
#define E2_STEP_PIN -1 // 17
|
||||
#define E2_DIR_PIN -1 // 16
|
||||
#define E2_ENABLE_PIN 24
|
||||
#define E2_STEP_PIN -1 // 17
|
||||
#define E2_DIR_PIN -1 // 16
|
||||
#define E2_ENABLE_PIN 24
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 0 // Analog Input (D27)
|
||||
#define TEMP_0_PIN 0 // Analog Input (D27)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 4
|
||||
#define HEATER_0_PIN 4
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 3
|
||||
#define FAN_PIN 3
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 11
|
||||
#define SDSS 11
|
||||
|
||||
/* Unused (1) (2) (3) 4 5 6 7 8 9 10 11 12 13 (14) (15) (16) 17 (18) (19) (20) (21) (22) (23) 24 (25) (26) (27) 28 (29) (30) (31) */
|
||||
|
@ -63,60 +63,60 @@
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 18
|
||||
#define Y_STOP_PIN 19
|
||||
#define Z_STOP_PIN 20
|
||||
#define X_STOP_PIN 18
|
||||
#define Y_STOP_PIN 19
|
||||
#define Z_STOP_PIN 20
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 15
|
||||
#define X_DIR_PIN 21
|
||||
#define X_STEP_PIN 15
|
||||
#define X_DIR_PIN 21
|
||||
|
||||
#define Y_STEP_PIN 22
|
||||
#define Y_DIR_PIN 23
|
||||
#define Y_STEP_PIN 22
|
||||
#define Y_DIR_PIN 23
|
||||
|
||||
#define Z_STEP_PIN 3
|
||||
#define Z_DIR_PIN 2
|
||||
#define Z_STEP_PIN 3
|
||||
#define Z_DIR_PIN 2
|
||||
|
||||
#define E0_STEP_PIN 1
|
||||
#define E0_DIR_PIN 0
|
||||
#define E0_STEP_PIN 1
|
||||
#define E0_DIR_PIN 0
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 7 // Analog Input (pin 33 extruder)
|
||||
#define TEMP_BED_PIN 6 // Analog Input (pin 34 bed)
|
||||
#define TEMP_0_PIN 7 // Analog Input (pin 33 extruder)
|
||||
#define TEMP_BED_PIN 6 // Analog Input (pin 34 bed)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 13 // (extruder)
|
||||
#define HEATER_0_PIN 13 // (extruder)
|
||||
|
||||
#if ENABLED(SANGUINOLOLU_V_1_2)
|
||||
|
||||
#define HEATER_BED_PIN 12 // (bed)
|
||||
#define X_ENABLE_PIN 14
|
||||
#define Y_ENABLE_PIN 14
|
||||
#define Z_ENABLE_PIN 26
|
||||
#define E0_ENABLE_PIN 14
|
||||
#define HEATER_BED_PIN 12 // (bed)
|
||||
#define X_ENABLE_PIN 14
|
||||
#define Y_ENABLE_PIN 14
|
||||
#define Z_ENABLE_PIN 26
|
||||
#define E0_ENABLE_PIN 14
|
||||
|
||||
#if !defined(FAN_PIN) && ENABLED(LCD_I2C_PANELOLU2)
|
||||
#define FAN_PIN 4 // Uses Transistor1 (PWM) on Panelolu2's Sanguino Adapter Board to drive the fan
|
||||
#define FAN_PIN 4 // Uses Transistor1 (PWM) on Panelolu2's Sanguino Adapter Board to drive the fan
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#define HEATER_BED_PIN 14 // (bed)
|
||||
#define X_ENABLE_PIN -1
|
||||
#define Y_ENABLE_PIN -1
|
||||
#define Z_ENABLE_PIN -1
|
||||
#define E0_ENABLE_PIN -1
|
||||
#define HEATER_BED_PIN 14 // (bed)
|
||||
#define X_ENABLE_PIN -1
|
||||
#define Y_ENABLE_PIN -1
|
||||
#define Z_ENABLE_PIN -1
|
||||
#define E0_ENABLE_PIN -1
|
||||
|
||||
#endif
|
||||
|
||||
#if !defined(FAN_PIN) && (MB(AZTEEG_X1, STB_11) || IS_MELZI)
|
||||
#define FAN_PIN 4 // Works for Panelolu2 too
|
||||
#define FAN_PIN 4 // Works for Panelolu2 too
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -129,17 +129,17 @@
|
||||
* If you encounter issues with these pins, upgrade your
|
||||
* Sanguino libraries! See #368.
|
||||
*/
|
||||
//#define SDSS 24
|
||||
#define SDSS 31
|
||||
//#define SDSS 24
|
||||
#define SDSS 31
|
||||
|
||||
#if IS_MELZI
|
||||
#define LED_PIN 27
|
||||
#define LED_PIN 27
|
||||
#elif MB(STB_11)
|
||||
#define LCD_BACKLIGHT_PIN 17 // LCD backlight LED
|
||||
#define LCD_BACKLIGHT_PIN 17 // LCD backlight LED
|
||||
#endif
|
||||
|
||||
#if NONE(SPINDLE_FEATURE, LASER_FEATURE) && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(ULTRA_LCD, NEWPANEL) // try to use IO Header
|
||||
#define CASE_LIGHT_PIN 4 // Hardware PWM - see if IO Header is available
|
||||
#if NONE(SPINDLE_FEATURE, LASER_FEATURE) && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(ULTRA_LCD, NEWPANEL)// try to use IO Header
|
||||
#define CASE_LIGHT_PIN 4 // Hardware PWM - see if IO Header is available
|
||||
#endif
|
||||
|
||||
/**
|
||||
@ -156,57 +156,57 @@
|
||||
//
|
||||
#if HAS_SPI_LCD
|
||||
|
||||
#define SD_DETECT_PIN -1
|
||||
#define SD_DETECT_PIN -1
|
||||
|
||||
#if HAS_GRAPHICAL_LCD
|
||||
|
||||
#if ENABLED(LCD_FOR_MELZI)
|
||||
|
||||
#define LCD_PINS_RS 17
|
||||
#define LCD_PINS_ENABLE 16
|
||||
#define LCD_PINS_D4 11
|
||||
#define LCD_PINS_RS 17
|
||||
#define LCD_PINS_ENABLE 16
|
||||
#define LCD_PINS_D4 11
|
||||
|
||||
#define BOARD_ST7920_DELAY_1 DELAY_NS(0)
|
||||
#define BOARD_ST7920_DELAY_2 DELAY_NS(188)
|
||||
#define BOARD_ST7920_DELAY_3 DELAY_NS(0)
|
||||
|
||||
#elif ENABLED(U8GLIB_ST7920) // SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0
|
||||
#elif ENABLED(U8GLIB_ST7920) // SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0
|
||||
|
||||
#if IS_MELZI
|
||||
#define LCD_PINS_RS 30 // CS chip select /SS chip slave select
|
||||
#define LCD_PINS_ENABLE 29 // SID (MOSI)
|
||||
#define LCD_PINS_D4 17 // SCK (CLK) clock
|
||||
#define LCD_PINS_RS 30 // CS chip select /SS chip slave select
|
||||
#define LCD_PINS_ENABLE 29 // SID (MOSI)
|
||||
#define LCD_PINS_D4 17 // SCK (CLK) clock
|
||||
// Pin 27 is taken by LED_PIN, but Melzi LED does nothing with
|
||||
// Marlin so this can be used for BEEPER_PIN. You can use this pin
|
||||
// with M42 instead of BEEPER_PIN.
|
||||
#define BEEPER_PIN 27
|
||||
#else // Sanguinololu >=1.3
|
||||
#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
|
||||
#define BEEPER_PIN 27
|
||||
#else // Sanguinololu >=1.3
|
||||
#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
|
||||
|
||||
#else
|
||||
|
||||
#define DOGLCD_A0 30
|
||||
#define DOGLCD_A0 30
|
||||
|
||||
#if ENABLED(MAKRPANEL)
|
||||
|
||||
#define BEEPER_PIN 29
|
||||
#define DOGLCD_CS 17
|
||||
#define LCD_BACKLIGHT_PIN 28 // PA3
|
||||
#define BEEPER_PIN 29
|
||||
#define DOGLCD_CS 17
|
||||
#define LCD_BACKLIGHT_PIN 28 // PA3
|
||||
|
||||
#elif IS_MELZI
|
||||
|
||||
#define BEEPER_PIN 27
|
||||
#define DOGLCD_CS 28
|
||||
#define BEEPER_PIN 27
|
||||
#define DOGLCD_CS 28
|
||||
|
||||
#else // !MAKRPANEL
|
||||
#else // !MAKRPANEL
|
||||
|
||||
#define DOGLCD_CS 29
|
||||
#define DOGLCD_CS 29
|
||||
|
||||
#endif
|
||||
|
||||
@ -218,57 +218,57 @@
|
||||
//#define LCD_SCREEN_ROT_180
|
||||
//#define LCD_SCREEN_ROT_270
|
||||
|
||||
#elif ENABLED(ZONESTAR_LCD) // For the Tronxy Melzi boards
|
||||
#elif ENABLED(ZONESTAR_LCD) // For the Tronxy Melzi boards
|
||||
|
||||
#define LCD_PINS_RS 28
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 10
|
||||
#define LCD_PINS_D5 11
|
||||
#define LCD_PINS_D6 16
|
||||
#define LCD_PINS_D7 17
|
||||
#define LCD_PINS_RS 28
|
||||
#define LCD_PINS_ENABLE 29
|
||||
#define LCD_PINS_D4 10
|
||||
#define LCD_PINS_D5 11
|
||||
#define LCD_PINS_D6 16
|
||||
#define LCD_PINS_D7 17
|
||||
|
||||
#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
|
||||
#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
|
||||
|
||||
#if ENABLED(LCD_FOR_MELZI)
|
||||
|
||||
#define BTN_ENC 28
|
||||
#define BTN_EN1 29
|
||||
#define BTN_EN2 30
|
||||
#define BTN_ENC 28
|
||||
#define BTN_EN1 29
|
||||
#define BTN_EN2 30
|
||||
|
||||
#elif ENABLED(ZONESTAR_LCD) // For the Tronxy Melzi boards
|
||||
#elif ENABLED(ZONESTAR_LCD) // For the Tronxy Melzi boards
|
||||
|
||||
#define ADC_KEYPAD_PIN 1
|
||||
#define BTN_EN1 -1
|
||||
#define BTN_EN2 -1
|
||||
#define ADC_KEYPAD_PIN 1
|
||||
#define BTN_EN1 -1
|
||||
#define BTN_EN2 -1
|
||||
|
||||
#elif ENABLED(LCD_I2C_PANELOLU2)
|
||||
|
||||
#if IS_MELZI
|
||||
#define BTN_ENC 29
|
||||
#define LCD_SDSS 30 // Panelolu2 SD card reader rather than the Melzi
|
||||
#define BTN_ENC 29
|
||||
#define LCD_SDSS 30 // Panelolu2 SD card reader rather than the Melzi
|
||||
#else
|
||||
#define BTN_ENC 30
|
||||
#define BTN_ENC 30
|
||||
#endif
|
||||
|
||||
#else // !LCD_FOR_MELZI && !ZONESTAR_LCD && !LCD_I2C_PANELOLU2
|
||||
#else // !LCD_FOR_MELZI && !ZONESTAR_LCD && !LCD_I2C_PANELOLU2
|
||||
|
||||
#define BTN_ENC 16
|
||||
#define LCD_SDSS 28 // Smart Controller SD card reader rather than the Melzi
|
||||
#define BTN_ENC 16
|
||||
#define LCD_SDSS 28 // Smart Controller SD card reader rather than the Melzi
|
||||
|
||||
#endif
|
||||
|
||||
#if ENABLED(NEWPANEL) && !defined(BTN_EN1)
|
||||
#define BTN_EN1 11
|
||||
#define BTN_EN2 10
|
||||
#define BTN_EN1 11
|
||||
#define BTN_EN2 10
|
||||
#endif
|
||||
|
||||
#endif // HAS_SPI_LCD
|
||||
@ -277,13 +277,13 @@
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#if HAS_CUTTER
|
||||
#if !MB(AZTEEG_X1) && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(ULTRA_LCD, NEWPANEL) // try to use IO Header
|
||||
#if !MB(AZTEEG_X1) && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(ULTRA_LCD, NEWPANEL)// try to use IO Header
|
||||
|
||||
#define SPINDLE_LASER_ENA_PIN 10 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 11
|
||||
#define SPINDLE_LASER_ENA_PIN 10 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM
|
||||
#define SPINDLE_DIR_PIN 11
|
||||
|
||||
#elif !MB(MELZI) // use X stepper motor socket
|
||||
#elif !MB(MELZI) // use X stepper motor socket
|
||||
|
||||
/**
|
||||
* To control the spindle speed and have an LCD you must sacrifice
|
||||
@ -315,11 +315,11 @@
|
||||
#undef X_DIR_PIN
|
||||
#undef X_ENABLE_PIN
|
||||
#undef X_STEP_PIN
|
||||
#define X_DIR_PIN 0
|
||||
#define X_ENABLE_PIN 14
|
||||
#define X_STEP_PIN 1
|
||||
#define SPINDLE_LASER_PWM_PIN 15 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 21 // Pullup!
|
||||
#define SPINDLE_DIR_PIN -1 // No pin available on the socket for the direction pin
|
||||
#define X_DIR_PIN 0
|
||||
#define X_ENABLE_PIN 14
|
||||
#define X_STEP_PIN 1
|
||||
#define SPINDLE_LASER_PWM_PIN 15 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 21 // Pullup!
|
||||
#define SPINDLE_DIR_PIN -1 // No pin available on the socket for the direction pin
|
||||
#endif
|
||||
#endif
|
||||
|
@ -57,69 +57,69 @@
|
||||
#define BOARD_INFO_NAME "Sethi 3D_1"
|
||||
|
||||
#ifndef GEN7_VERSION
|
||||
#define GEN7_VERSION 12 // v1.x
|
||||
#define GEN7_VERSION 12 // v1.x
|
||||
#endif
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 2
|
||||
#define Y_STOP_PIN 0
|
||||
#define Z_MIN_PIN 1
|
||||
#define Z_MAX_PIN 0
|
||||
#define X_STOP_PIN 2
|
||||
#define Y_STOP_PIN 0
|
||||
#define Z_MIN_PIN 1
|
||||
#define Z_MAX_PIN 0
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 19
|
||||
#define X_DIR_PIN 18
|
||||
#define X_ENABLE_PIN 24
|
||||
#define X_STEP_PIN 19
|
||||
#define X_DIR_PIN 18
|
||||
#define X_ENABLE_PIN 24
|
||||
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24
|
||||
#define Y_STEP_PIN 23
|
||||
#define Y_DIR_PIN 22
|
||||
#define Y_ENABLE_PIN 24
|
||||
|
||||
#define Z_STEP_PIN 26
|
||||
#define Z_DIR_PIN 25
|
||||
#define Z_ENABLE_PIN 24
|
||||
#define Z_STEP_PIN 26
|
||||
#define Z_DIR_PIN 25
|
||||
#define Z_ENABLE_PIN 24
|
||||
|
||||
#define E0_STEP_PIN 28
|
||||
#define E0_DIR_PIN 27
|
||||
#define E0_ENABLE_PIN 24
|
||||
#define E0_STEP_PIN 28
|
||||
#define E0_DIR_PIN 27
|
||||
#define E0_ENABLE_PIN 24
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 1 // Analog Input
|
||||
#define TEMP_BED_PIN 2 // Analog Input
|
||||
#define TEMP_0_PIN 1 // Analog Input
|
||||
#define TEMP_BED_PIN 2 // Analog Input
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 4
|
||||
#define HEATER_BED_PIN 3
|
||||
#define HEATER_0_PIN 4
|
||||
#define HEATER_BED_PIN 3
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#if GEN7_VERSION >= 13
|
||||
// Gen7 v1.3 removed the fan pin
|
||||
#define FAN_PIN -1
|
||||
#define FAN_PIN -1
|
||||
#else
|
||||
#define FAN_PIN 31
|
||||
#define FAN_PIN 31
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define PS_ON_PIN 15
|
||||
#define PS_ON_PIN 15
|
||||
|
||||
// All these generations of Gen7 supply thermistor power
|
||||
// via PS_ON, so ignore bad thermistor readings
|
||||
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
|
||||
//#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
|
||||
|
||||
// our pin for debugging.
|
||||
#define DEBUG_PIN 0
|
||||
#define DEBUG_PIN 0
|
||||
|
||||
// our RS485 pins
|
||||
#define TX_ENABLE_PIN 12
|
||||
#define RX_ENABLE_PIN 13
|
||||
#define TX_ENABLE_PIN 12
|
||||
#define RX_ENABLE_PIN 13
|
||||
|
Reference in New Issue
Block a user