lcd_st7920: Use a longer delay at the start of each command/data

It appears the st7920 requires a longer delay when switching from
command to data mode (and vice-versa).  Slower MCUs don't show a
problem because the klipper command processing time results in a
sufficient delay.  However, some of the faster MCUs can process
klipper commands fast enough that the next st7920 transfer is sent too
fast.  Add an additional delay to account for this.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-06-22 22:07:48 -04:00
parent 74de181e59
commit f08a0c5e93
4 changed files with 33 additions and 22 deletions

View File

@@ -93,8 +93,3 @@ max_z_accel: 100
#cs_pin: P0.16
#sclk_pin: P0.15
#sid_pin: P0.18
#chip_delay needs to be set to the below for the LCD to initialise correctly.
#chip_delay: .000040