From d997821e587c53255acd6efc8de6a913502ea36e Mon Sep 17 00:00:00 2001 From: christian mock Date: Wed, 7 Mar 2018 21:12:58 +0100 Subject: [PATCH] config: Add LCD configuration to printer-trony-x5s-2017.cfg I've added the LCD configuration for the Tronxy X5S printer and its Melzi board and 128x64 LCD. This is tested and works. I've also added the pins for the encoder, but that is untested. Signed-off-by: christian mock --- config/printer-tronxy-x5s-2017.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/printer-tronxy-x5s-2017.cfg b/config/printer-tronxy-x5s-2017.cfg index 3a9d32fb..c7b483de 100644 --- a/config/printer-tronxy-x5s-2017.cfg +++ b/config/printer-tronxy-x5s-2017.cfg @@ -77,3 +77,13 @@ max_velocity: 300 max_accel: 1000 max_z_velocity: 20 max_z_accel: 100 + +[display] +lcd_type: st7920 +cs_pin: PA1 +sclk_pin: PC0 +sid_pin: PA3 + +# buttons are: +# PD2, PD3: encoder +# PA5: click