diff --git a/config.yml b/config.yml index cab5e10..4d652d1 100644 --- a/config.yml +++ b/config.yml @@ -189,7 +189,7 @@ led: size: 24 diameter: 63.5 angle: 0 - pos: [-197.973, -38.1] + pos: [-199.0, -35.0] - type: circle start: 408 size: 24 @@ -348,7 +348,7 @@ led: size: 24 diameter: 63.5 angle: 0 - pos: [-131.982, -152.4] + pos: [-133.0, -151.0] # controller 8 - type: circle @@ -512,7 +512,7 @@ position_map: - index: 36 pos: [-228.6, -131.982] - index: 37 - pos: [-151, -133] + pos: [-151.0, -133.0] - index: 38 pos: [-76.2, -131.982] - index: 39 @@ -528,7 +528,7 @@ position_map: - index: 44 pos: [-114.3, -197.973] - index: 45 - pos: [-35, -199] + pos: [-35.0, -199.0] - index: 46 pos: [38.1, -197.973] - index: 47 diff --git a/led_control.py b/led_control.py index cecae80..4b4e93e 100755 --- a/led_control.py +++ b/led_control.py @@ -311,7 +311,8 @@ class LEDSystem(): def setring(self, r,g,b,idx): - + print(self.rings) + print(self.rings[idx]) ring = self.rings[idx] for pixel in range(ring[2],ring[3]): self.setpixel(r,g,b,pixel) diff --git a/map.png b/map.png index 0fa2209..7b0880e 100644 Binary files a/map.png and b/map.png differ