diff --git a/display.py b/display.py index 0db9625..772f893 100644 --- a/display.py +++ b/display.py @@ -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]