From 075a86b076719e0d0cb3d390c71b590a6f3a3750 Mon Sep 17 00:00:00 2001 From: Roxy-3D Date: Tue, 24 Mar 2020 17:15:03 -0500 Subject: [PATCH] Update LCD timing on Formbot T-Rex 2+ machines The code is slightly more optimized than it used to be and this has caused the setup and hold times on the Formbot T-Rex 2+ machines to be insufficient. This change gives sufficient margin and the LCD Display is clean again. --- Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h b/Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h index 8fa368651..5176c699e 100644 --- a/Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h +++ b/Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h @@ -21,6 +21,15 @@ */ #pragma once +/** + * Override default LCD timing for Formbot T-Rex 2+ machines. + * The long LCD cables and the routing near electrically noisy stepper motors + * requires a slightly longer setup and hold time on the signals. + */ +#define BOARD_ST7920_DELAY_1 DELAY_NS(200) +#define BOARD_ST7920_DELAY_2 DELAY_NS(200) +#define BOARD_ST7920_DELAY_3 DELAY_NS(200) + /** * Formbot pin assignments */