aboutsummaryrefslogtreecommitdiff
path: root/pixelcore/PixelStrip.py
diff options
context:
space:
mode:
authorGravatar Russell Cohen <rcoh@mit.edu>2010-11-26 00:07:14 -0500
committerGravatar Russell Cohen <rcoh@mit.edu>2010-11-26 00:07:14 -0500
commit9c9babfa7032b443138c4b457aabaf79fad385b3 (patch)
treef9bf3e8b51423bf6769d2c655ffa15d81a42333f /pixelcore/PixelStrip.py
parent1754a1f4511ef52f0a093dd0f9915196bd4261e7 (diff)
Add PixelMapper functionality to abstract away from mapping locations->Pixels.
Diffstat (limited to 'pixelcore/PixelStrip.py')
-rw-r--r--pixelcore/PixelStrip.py2
1 files changed, 1 insertions, 1 deletions
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):