From 6f94ea98a0e60b2245c5da03344f944410d747c7 Mon Sep 17 00:00:00 2001
From: Martin Winter <martin.winter@teckids.org>
Date: Sun, 9 Jul 2023 16:30:49 +0200
Subject: [PATCH] remove bug in get function

---
 myfrabuled/tm1640.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/myfrabuled/tm1640.py b/myfrabuled/tm1640.py
index 3469d8d..2eb250c 100644
--- a/myfrabuled/tm1640.py
+++ b/myfrabuled/tm1640.py
@@ -52,7 +52,7 @@ class TM1640Matrix(LEDMatrix):
     
     def get(self, i: int, j: int) -> bool:
         """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):
         """Set state of one pixel."""
-- 
GitLab