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: