diff --git a/LCD.py b/LCD.py index b468576..a71b332 100644 --- a/LCD.py +++ b/LCD.py @@ -73,7 +73,7 @@ class LCD: self.bus.write_byte(self.I2C_ADDR,(bits & ~self.ENABLE)) time.sleep(self.E_DELAY) - def async_message(self, string, line = 1): + async def async_message(self, string, line = 1): async with lock: result = await asyncio.to_thread(_message, string = string, line = line)