From dc54ae18880affa8afd5cd19cd9ea870e59386aa Mon Sep 17 00:00:00 2001 From: Benjamin Tayehanpour Date: Sat, 26 Sep 2026 20:37:02 +0000 Subject: [PATCH] stuff --- LCD.py | 2 +- display.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LCD.py b/LCD.py index de3f07a..01ab47a 100644 --- a/LCD.py +++ b/LCD.py @@ -4,7 +4,7 @@ import smbus lock = asyncio.Lock() class LCD: - async def __init__(self, pi_rev = 2, i2c_addr = 0x3F, backlight = True): + def __init__(self, pi_rev = 2, i2c_addr = 0x3F, backlight = True): # device constants self.I2C_ADDR = i2c_addr diff --git a/display.py b/display.py index ca56439..cc56df1 100644 --- a/display.py +++ b/display.py @@ -2,7 +2,7 @@ import asyncio from LCD import LCD class display: - async def __init__(self, width=20, height=4, i2c_addr=0x27): + def __init__(self, width=20, height=4, i2c_addr=0x27): self.width = width self.height = height self.device = LCD(2, i2c_addr, True)