MKFirmware / MK4duo

MK4duo Firmware Printers 3D for Arduino and Arduino due
http://www.marlinkimbra.it
GNU General Public License v3.0
206 stars 117 forks source link

corrupted characters on LCD screen #813

Closed phongshader closed 4 years ago

phongshader commented 4 years ago

Issue description

characters on LCD screen are corrupted MKS Rumba32, REPRAP_DISCOUNT_SMART_CONTROLLER mk4firmware mk4main mk4boot

Compile errors

none. I compiled several times to make sure this was not a one off.

Firmware version

MK4duo 4.4.0

My setup

The Beast V2, cartesian, MKS Rumba32, tmc5160, dual extruder, single nozzle, BLTouch clone Configuration_Overall.txt Configuration_Pins.txt

phongshader commented 4 years ago

There are plenty of other issues as well, BLTouch is not functioning as expected, heaters throwing errors and turning off, but I thought I would start with the lcd screen 1st so I can at least see what's going on. I replaced the clone with a genuine bltouch .

MagoKimbra commented 4 years ago

You must setting delay for you lcd and board. // // Display Full Graphics delay // //#define ST7920_DELAY_1 DELAY_NS(0) //#define ST7920_DELAY_2 DELAY_NS(0) //#define ST7920_DELAY_3 DELAY_NS(64)

Search online the valor for your display and board.

phongshader commented 4 years ago

I tried these settings 0,63,125 0,125,0 125,125,125 0,188,0 0,250,0 0,250,250 250,250,250 96,48,600 96,48,715 313,313,313 0,400,0 none fixed the screen, these are values found in Marlin and searches. Any other ideas?

Kremptor commented 4 years ago

Hi, I had the same problem with the Rumba32. Change the file 4203.h. in src / bords. At the end of the file you can set the delay values, it should look like this: // ### IF_BLOCKS

define ST7920_DELAY_1 DELAY_NS (350)

define ST7920_DELAY_2 DELAY_NS (350)

define ST7920_DELAY_3 DELAY_NS (350)

With this change, it worked for me. I tested six Display RepRapDiscount Full Graphic Smart Controllers with three Rumba32 boards, with two displays it worked without this change, with the others I had graphic problems.

phongshader commented 4 years ago

still corrupted when I made the changes in Configuration_Overall.h but was not corrupted when I made the changes in 4204.h Thank you!