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