mirror of
https://github.com/pkali/piradio-mini.git
synced 2026-05-20 22:34:22 +02:00
Ooops... Error in LCD init proc.
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user