From f06b4a465e1562a87db992f39ba3be84956b3253 Mon Sep 17 00:00:00 2001 From: Dale Whinham Date: Thu, 23 Jul 2020 23:53:43 +0100 Subject: [PATCH] Fix CLCD init sequence for WS0010/RS0010 displays Remove commands that appear to be an incomplete duplicate the of commands that immediately follow (display off, display clear). This fixes compatibility with modern OLED character displays based on the Winstar WS0010 or Raystar RS0010 controller. Tested with Raystar REC002004AYPP5N00000. --- mios/mios_clcd.inc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/mios/mios_clcd.inc b/mios/mios_clcd.inc index b898370a..da4a4f85 100644 --- a/mios/mios_clcd.inc +++ b/mios/mios_clcd.inc @@ -98,18 +98,6 @@ MIOS_CLCD_Init_Cmds_4Bit clrf MIOS_CLCD_LAT_D movlw 1 ; 1 mS delayed toggle rcall MIOS_CLCD_Strobe_DelayToggle ; DB7-DB4: 0000 (N/F) - - movlw 1 ; 1 mS delayed toggle - rcall MIOS_CLCD_Strobe_DelayToggle ; DB7-DB4: 0000 - - movlw 0x10 - movwf MIOS_CLCD_LAT_D - movlw 1 ; 1 mS delayed toggle - rcall MIOS_CLCD_Strobe_DelayToggle ; DB7-DB4: 0001 - - clrf MIOS_CLCD_LAT_D - movlw 1 ; 1 mS delayed toggle - rcall MIOS_CLCD_Strobe_DelayToggle ; DB7-DB4: 0000 MIOS_CLCD_Init_Cmds_No4Bit movlw 0x08 ; Display Off