Clean up Touch pins. Better up/down touch response. (#14900)
This commit is contained in:
committed by
Scott Lahteine
parent
8cc0b4bf5e
commit
d2d71caa3b
@ -122,7 +122,6 @@
|
||||
// Touch support
|
||||
//
|
||||
#if ENABLED(TOUCH_BUTTONS)
|
||||
#define BTN_ENC PA11 // Real pin needed to enable encoder's push button functionality used by touch screen. PA11 gives stable value.
|
||||
#define TOUCH_CS_PIN PA4
|
||||
#define TOUCH_INT_PIN PC4
|
||||
#endif
|
||||
|
@ -136,10 +136,6 @@
|
||||
#define TOUCH_MOSI_PIN PB14 // pin 53
|
||||
#define TOUCH_MISO_PIN PB15 // pin 54
|
||||
#define TOUCH_INT_PIN PC6 // pin 63 (PenIRQ coming from ADS7843)
|
||||
|
||||
#define BTN_ENC PB0 // pin 35 unconnected pin on Alfawise. (PC13 to try)
|
||||
#define BTN_EN1 -1 // Real pin is needed to enable encoder's push button
|
||||
#define BTN_EN2 -1 // functionality used by touch screen
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -125,7 +125,6 @@
|
||||
#define LCD_BACKLIGHT_PIN PD13
|
||||
|
||||
#if ENABLED(TOUCH_BUTTONS)
|
||||
#define BTN_ENC PB3 // Not connected. TODO: Replace this hack to enable button code
|
||||
#define TOUCH_CS_PIN PC2
|
||||
#endif
|
||||
#endif
|
||||
@ -134,7 +133,7 @@
|
||||
#define MOTOR_CURRENT_PWM_XY_PIN PA6
|
||||
#define MOTOR_CURRENT_PWM_Z_PIN PA7
|
||||
#define MOTOR_CURRENT_PWM_E_PIN PB0
|
||||
#define MOTOR_CURRENT_PWM_RANGE 65535 // (255 * (1000mA / 65535)) * 257 = 1000 is equal 1.6v Vref in turn equal 1Amp
|
||||
#define MOTOR_CURRENT_PWM_RANGE 1500 // (255 * (1000mA / 65535)) * 257 = 1000 is equal 1.6v Vref in turn equal 1Amp
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT { 1030, 1030, 1030 } // 1.05Amp per driver, here is XY, Z and E. This values determined empirically.
|
||||
|
||||
// This is a kind of workaround in case native marlin "digipot" interface won't work.
|
||||
|
@ -129,7 +129,6 @@
|
||||
#define LCD_BACKLIGHT_PIN PD13
|
||||
|
||||
#if ENABLED(TOUCH_BUTTONS)
|
||||
#define BTN_ENC PC13 // Not connected. TODO: Replace this hack to enable button code
|
||||
#define TOUCH_CS_PIN PA7
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user