🧑💻 Pins and debug list cleanup (#24878)
This commit is contained in:
@ -101,9 +101,9 @@
|
||||
// LCD Display input pins
|
||||
//
|
||||
#define BTN_UP 25
|
||||
#define BTN_DWN 26
|
||||
#define BTN_LFT 27
|
||||
#define BTN_RT 28
|
||||
#define BTN_DOWN 26
|
||||
#define BTN_LEFT 27
|
||||
#define BTN_RIGHT 28
|
||||
|
||||
// 'OK' button
|
||||
#define BTN_ENC 29
|
||||
|
@ -203,14 +203,13 @@
|
||||
|
||||
#define BTN_EN2 75 // J4, UP
|
||||
#define BTN_EN1 73 // J3, DOWN
|
||||
//STOP button connected as KILL_PIN
|
||||
#define KILL_PIN 14 // J1, RIGHT
|
||||
//KILL - not connected
|
||||
// STOP button connected as KILL_PIN
|
||||
#define KILL_PIN 14 // J1, RIGHT (not connected)
|
||||
|
||||
#define BEEPER_PIN 8 // H5, SD_WP
|
||||
|
||||
//on board leds
|
||||
#define STAT_LED_RED_LED SERVO0_PIN // C1 (1280-EX1, DEBUG2)
|
||||
// Onboard leds
|
||||
#define STAT_LED_RED_PIN SERVO0_PIN // C1 (1280-EX1, DEBUG2)
|
||||
#define STAT_LED_BLUE_PIN SERVO1_PIN // C0 (1280-EX2, DEBUG3)
|
||||
|
||||
#else
|
||||
@ -220,9 +219,9 @@
|
||||
#define SR_STROBE_PIN 33 // C4
|
||||
|
||||
#define BTN_UP 75 // J4
|
||||
#define BTN_DWN 73 // J3
|
||||
#define BTN_LFT 72 // J2
|
||||
#define BTN_RT 14 // J1
|
||||
#define BTN_DOWN 73 // J3
|
||||
#define BTN_LEFT 72 // J2
|
||||
#define BTN_RIGHT 14 // J1
|
||||
|
||||
// Disable encoder
|
||||
#undef BTN_EN1
|
||||
|
@ -135,7 +135,7 @@
|
||||
#if IS_NEWPANEL
|
||||
#define BTN_ENC 16 // Enter Pin
|
||||
#define BTN_UP 19 // Button UP Pin
|
||||
#define BTN_DWN 17 // Button DOWN Pin
|
||||
#define BTN_DOWN 17 // Button DOWN Pin
|
||||
#endif
|
||||
|
||||
// Additional connectors/pins on the Overlord V1.X board
|
||||
|
@ -45,7 +45,7 @@
|
||||
#define REPORT_NAME_ANALOG(COUNTER, NAME) _ADD_PIN(#NAME, COUNTER)
|
||||
|
||||
#include "pinsDebug_list.h"
|
||||
#line 48
|
||||
#line 49
|
||||
|
||||
// manually add pins that have names that are macros which don't play well with these macros
|
||||
#if ANY(AVR_ATmega2560_FAMILY, AVR_ATmega1284_FAMILY, ARDUINO_ARCH_SAM, TARGET_LPC1768)
|
||||
@ -164,7 +164,7 @@ const PinInfo pin_array[] PROGMEM = {
|
||||
#endif
|
||||
|
||||
#include "pinsDebug_list.h"
|
||||
#line 167
|
||||
#line 168
|
||||
|
||||
};
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -103,9 +103,9 @@
|
||||
|
||||
// Direction buttons
|
||||
#define BTN_UP 37
|
||||
#define BTN_DWN 35
|
||||
#define BTN_LFT 33
|
||||
#define BTN_RT 32
|
||||
#define BTN_DOWN 35
|
||||
#define BTN_LEFT 33
|
||||
#define BTN_RIGHT 32
|
||||
|
||||
// 'R' button
|
||||
#undef BTN_ENC
|
||||
|
@ -107,8 +107,8 @@
|
||||
#define SDSS 53
|
||||
#define SD_DETECT_PIN 39
|
||||
#define LED_PIN 8
|
||||
#define SAFETY_TRIGGERED_PIN 28 // PIN to detect the safety circuit has triggered
|
||||
#define MAIN_VOLTAGE_MEASURE_PIN 14 // ANALOG PIN to measure the main voltage, with a 100k - 4k7 resitor divider.
|
||||
//#define SAFETY_TRIGGERED_PIN 28 // PIN to detect the safety circuit has triggered
|
||||
//#define MAIN_VOLTAGE_MEASURE_PIN 14 // ANALOG PIN to measure the main voltage, with a 100k - 4k7 resitor divider.
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
|
@ -28,31 +28,20 @@
|
||||
|
||||
#include "pins_MKS_GEN_13.h" // ... RAMPS
|
||||
|
||||
#define ZRIB_V20_D6_PIN 6 // Fan
|
||||
#define ZRIB_V20_D9_PIN 9 // Fan2
|
||||
#define ZRIB_V20_A10_PIN 10
|
||||
#define ZRIB_V20_D16_PIN 16
|
||||
#define ZRIB_V20_D17_PIN 17
|
||||
#define ZRIB_V20_D23_PIN 23
|
||||
#define ZRIB_V20_D25_PIN 25
|
||||
#define ZRIB_V20_D27_PIN 27
|
||||
#define ZRIB_V20_D29_PIN 29
|
||||
#define ZRIB_V20_D37_PIN 37
|
||||
|
||||
//
|
||||
// Auto fans
|
||||
//
|
||||
#ifndef E0_AUTO_FAN_PIN
|
||||
#define E0_AUTO_FAN_PIN ZRIB_V20_D6_PIN
|
||||
#define E0_AUTO_FAN_PIN 6 // Fan
|
||||
#endif
|
||||
#ifndef E1_AUTO_FAN_PIN
|
||||
#define E1_AUTO_FAN_PIN ZRIB_V20_D6_PIN
|
||||
#define E1_AUTO_FAN_PIN 6
|
||||
#endif
|
||||
#ifndef E2_AUTO_FAN_PIN
|
||||
#define E2_AUTO_FAN_PIN ZRIB_V20_D6_PIN
|
||||
#define E2_AUTO_FAN_PIN 6
|
||||
#endif
|
||||
#ifndef E3_AUTO_FAN_PIN
|
||||
#define E3_AUTO_FAN_PIN ZRIB_V20_D6_PIN
|
||||
#define E3_AUTO_FAN_PIN 6
|
||||
#endif
|
||||
|
||||
#ifndef FILWIDTH_PIN
|
||||
@ -76,12 +65,12 @@
|
||||
#undef BTN_EN2
|
||||
#undef BTN_ENC
|
||||
|
||||
#define LCD_PINS_RS ZRIB_V20_D16_PIN
|
||||
#define LCD_PINS_ENABLE ZRIB_V20_D17_PIN
|
||||
#define LCD_PINS_D4 ZRIB_V20_D23_PIN
|
||||
#define LCD_PINS_D5 ZRIB_V20_D25_PIN
|
||||
#define LCD_PINS_D6 ZRIB_V20_D27_PIN
|
||||
#define LCD_PINS_D7 ZRIB_V20_D29_PIN
|
||||
#define ADC_KEYPAD_PIN ZRIB_V20_A10_PIN
|
||||
#define BEEPER_PIN ZRIB_V20_D37_PIN
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
#define LCD_PINS_D4 23
|
||||
#define LCD_PINS_D5 25
|
||||
#define LCD_PINS_D6 27
|
||||
#define LCD_PINS_D7 29
|
||||
#define ADC_KEYPAD_PIN 10 // Analog Input
|
||||
#define BEEPER_PIN 37
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user