From 8a3eacb5d240a402f5d8fe86536e279e201e45e5 Mon Sep 17 00:00:00 2001 From: Rai <58925163+rai68@users.noreply.github.com> Date: Wed, 27 Mar 2024 02:05:24 +1000 Subject: [PATCH] Update LCD_2inch4.py Signed-off-by: Rai <58925163+rai68@users.noreply.github.com> --- pwnagotchi/ui/hw/libs/waveshare/lcd/lcdhat2in4/LCD_2inch4.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/ui/hw/libs/waveshare/lcd/lcdhat2in4/LCD_2inch4.py b/pwnagotchi/ui/hw/libs/waveshare/lcd/lcdhat2in4/LCD_2inch4.py index dc1da5ec..ff19d242 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/lcd/lcdhat2in4/LCD_2inch4.py +++ b/pwnagotchi/ui/hw/libs/waveshare/lcd/lcdhat2in4/LCD_2inch4.py @@ -4,8 +4,8 @@ import numbers class LCD_2inch4(lcdconfig.RaspberryPi): - width = 240 - height = 320 + self.width = 240 + self.height = 320 def command(self, cmd): self.digital_write(self.DC_PIN, False)