But ... "TypeError: function takes 2 positional arguments" ... and that's just one argument !?!?!?The fill method needs a color value only ...
pixels.fill(color)
That's thrown me at times. The 'fill' method is probably defined via a 'NeoPixel' class, something like this -
Code:
class NeoPixel: def fill(self, color): ...
Code:
pixels.fill(color) | : | | : `----. `-----:---. | : | | def fill(self, color):
Statistics: Posted by hippy — Sun Jul 14, 2024 6:37 pm