From 295655eadc1e86f5fb28035bf8dbd9733fbcf99b Mon Sep 17 00:00:00 2001 From: Pecusx Date: Sun, 20 Nov 2016 16:38:21 +0100 Subject: [PATCH] Ooops... Error in LCD init proc. --- lcd_class.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lcd_class.py b/lcd_class.py index d16686b..41ac5c9 100755 --- a/lcd_class.py +++ b/lcd_class.py @@ -148,10 +148,10 @@ class Lcd: # Initialise the display def lcd_init(self): - #self._byte_out(0x33,LCD_CMD) # 110011 Initialise LCD? - #self._byte_out(0x32,LCD_CMD) # 110010 Initialise LCD? self._byte_out(0x00,LCD_CMD) # 000000 Initialise OLED? self._byte_out(0x02,LCD_CMD) # 000010 Initialise OLED? + self._byte_out(0x33,LCD_CMD) # 110011 Initialise LCD? + self._byte_out(0x32,LCD_CMD) # 110010 Initialise LCD? # Problem with OLED display after reboot ?? (Pecus) self._byte_out(0x28,LCD_CMD) # 101000 Data length, number of lines, font size (Pecus) time.sleep(E_POSTCLEAR) # waiting for longer delay (Pecus)