Skip to content
Snippets Groups Projects
Commit 6f94ea98 authored by Martin Winter's avatar Martin Winter
Browse files

remove bug in get function

parent e2e9608c
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ class TM1640Matrix(LEDMatrix): ...@@ -52,7 +52,7 @@ class TM1640Matrix(LEDMatrix):
def get(self, i: int, j: int) -> bool: def get(self, i: int, j: int) -> bool:
"""Get state of one pixel.""" """Get state of one pixel."""
return self.fb[7-i][7-j] return self.fb[i][7-j]
def set(self, i: int, j: int, state: bool): def set(self, i: int, j: int, state: bool):
"""Set state of one pixel.""" """Set state of one pixel."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment