This commit is contained in:
2021-01-07 15:32:24 +01:00
parent 5debfae1dc
commit 826c71e8cc

View File

@@ -75,7 +75,7 @@ class LedMatrix:
# The LEDs are laid out in a long string going from north to south, # 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 # one step to the east, and then south to north, before thxy e cycle
# starts over. # 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) phys_addr = ((x)%self.panelcolumn) + ((y)*self.panelcolumn) + (self.round_down((x)/self.panelcolumn) * self.panelcolumn * self.panelcolumn)
# if x & 1: # if x & 1: