From 9c9babfa7032b443138c4b457aabaf79fad385b3 Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Fri, 26 Nov 2010 00:07:14 -0500 Subject: Add PixelMapper functionality to abstract away from mapping locations->Pixels. --- pixelcore/PixelStrip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pixelcore/PixelStrip.py') diff --git a/pixelcore/PixelStrip.py b/pixelcore/PixelStrip.py index 45d2c8b..c82a87a 100644 --- a/pixelcore/PixelStrip.py +++ b/pixelcore/PixelStrip.py @@ -11,7 +11,7 @@ class PixelStrip: self.argDict = layoutEngine.getStripArgs() def initStrip(self, layoutEngine): pixelLocations = layoutEngine.getPixelLocations() - self.pixels = [Pixel(l, (0,0,0)) for l in pixelLocations] + self.pixels = [Pixel(l) for l in pixelLocations] def __iter__(self): return self.pixels.__iter__() def render(self, surface): -- cgit v1.2.3