From 826c71e8ccb4d2caccc3de19f391761ed241ac07 Mon Sep 17 00:00:00 2001 From: Willem Date: Thu, 7 Jan 2021 15:32:24 +0100 Subject: [PATCH] fix typo --- ledmatrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledmatrix.py b/ledmatrix.py index bb8d755..75e49ab 100755 --- a/ledmatrix.py +++ b/ledmatrix.py @@ -75,7 +75,7 @@ class LedMatrix: # The LEDs are laid out in a long string going from north to south, # one step to the east, and then south to north, before thxy e cycle # starts over. - stride = self.strid + stride = self.stride phys_addr = ((x)%self.panelcolumn) + ((y)*self.panelcolumn) + (self.round_down((x)/self.panelcolumn) * self.panelcolumn * self.panelcolumn) # if x & 1: