Update LCD_2inch4.py

Signed-off-by: Rai <58925163+rai68@users.noreply.github.com>
This commit is contained in:
Rai
2024-03-27 02:06:05 +10:00
committed by GitHub
parent 8a3eacb5d2
commit 8a242a707b

View File

@ -4,8 +4,8 @@ import numbers
class LCD_2inch4(lcdconfig.RaspberryPi): class LCD_2inch4(lcdconfig.RaspberryPi):
self.width = 240 width = 240
self.height = 320 height = 320
def command(self, cmd): def command(self, cmd):
self.digital_write(self.DC_PIN, False) self.digital_write(self.DC_PIN, False)