Fix RAMPS + VIKI i2c (#15811)

This commit is contained in:
Axel
2019-11-06 19:52:28 -03:00
committed by Scott Lahteine
parent e6dfc991ae
commit 786617e375
4 changed files with 14 additions and 8 deletions

View File

@ -66,7 +66,7 @@
//
#ifndef SERVO0_PIN
#ifdef IS_RAMPS_13
#define SERVO0_PIN 7 // RAMPS_13 // Will conflict with BTN_EN2 on LCD_I2C_VIKI
#define SERVO0_PIN 7
#else
#define SERVO0_PIN 11
#endif
@ -531,8 +531,8 @@
#elif ENABLED(LCD_I2C_VIKI)
#define BTN_EN1 22 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
#define BTN_EN2 7 // 22/7 are unused on RAMPS_14. 22 is unused and 7 the SERVO0_PIN on RAMPS_13.
#define BTN_EN1 40 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
#define BTN_EN2 42
#define BTN_ENC -1
#define LCD_SDSS SDSS