From 01f452c37c84d952f0d0ddbf0441a8666389e1ef Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 18 May 2017 13:00:13 -0400 Subject: [PATCH] Tweak Azteeg X3 PRO _pins.h so Viki2 will work for those without a case light. - add comment explaining that the Panucatt Viki2 wiring diagram uses pin 44 --- Marlin/pins_AZTEEG_X3_PRO.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Marlin/pins_AZTEEG_X3_PRO.h b/Marlin/pins_AZTEEG_X3_PRO.h index 7701f8b68..65a060b34 100644 --- a/Marlin/pins_AZTEEG_X3_PRO.h +++ b/Marlin/pins_AZTEEG_X3_PRO.h @@ -144,9 +144,11 @@ // // Misc. Functions // -#undef DOGLCD_A0 // steal pin 44 for the case light -#define DOGLCD_A0 57 #if ENABLED(OK_TO_CHANGE_CASE_LIGHT) + #undef DOGLCD_A0 // steal pin 44 for the case light; if you have a Viki2 and have connected it + #define DOGLCD_A0 57 // following the Panucatt wiring diagram, you may need to tweak these pin assignments + // as the wiring diagram uses pin 44 for DOGLCD_A0 + #undef CASE_LIGHT_PIN #define CASE_LIGHT_PIN 44 // must have a hardware PWM #endif