adafruit / Adafruit_CircuitPython_seesaw

seesaw helper IC driver for circuitPython
MIT License
64 stars 36 forks source link

Fix neopixel for python version of adafruit_pixelbuf #109

Closed Neradoc closed 2 years ago

Neradoc commented 2 years ago

Using the neokey on a board without builtin adafruit_pixelbuf (using the python version) I get that:

code.py output:
Traceback (most recent call last):
  File "code.py", line 9, in <module>
  File "adafruit_neokey/neokey1x4.py", line 64, in __init__
  File "adafruit_seesaw/neopixel.py", line 80, in __init__
TypeError: unexpected keyword argument 'size'

And indeed the size argument is called "n" in that version. It's the positional argument anyway, no need for a name.