stuff
This commit is contained in:
parent
255f046c4f
commit
56d449fc7b
1 changed files with 2 additions and 2 deletions
|
|
@ -11,9 +11,9 @@ class display:
|
|||
def redraw(self, row = None):
|
||||
if row == None:
|
||||
for row, line in enumerate(self.contents):
|
||||
asyncio.run(self.device.async_message(row + 1, line))
|
||||
self.device.async_message(row + 1, line)
|
||||
else:
|
||||
asyncio.run(self.device.async_message(row + 1, self.contents[row]))
|
||||
self.device.async_message(row + 1, self.contents[row])
|
||||
|
||||
def read(self, row):
|
||||
return self.contents[row]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue