stuff
This commit is contained in:
parent
43e4100ce4
commit
4b588076ab
1 changed files with 2 additions and 0 deletions
2
LCD.py
2
LCD.py
|
|
@ -81,6 +81,8 @@ class LCD:
|
||||||
|
|
||||||
async def async_message(self, string, line = 1):
|
async def async_message(self, string, line = 1):
|
||||||
async with lock:
|
async with lock:
|
||||||
|
# Reset caret position
|
||||||
|
self.lcd_byte(2, 1)
|
||||||
result = await asyncio.to_thread(self._message, string = string, line = line)
|
result = await asyncio.to_thread(self._message, string = string, line = line)
|
||||||
|
|
||||||
def _message(self, string, line = 1):
|
def _message(self, string, line = 1):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue