This commit is contained in:
Benjamin Tayehanpour 2026-10-02 17:27:23 +00:00
parent 43e4100ce4
commit 4b588076ab

2
LCD.py
View file

@ -81,6 +81,8 @@ class LCD:
async def async_message(self, string, line = 1):
async with lock:
# Reset caret position
self.lcd_byte(2, 1)
result = await asyncio.to_thread(self._message, string = string, line = line)
def _message(self, string, line = 1):