Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing set_multiple_pixels #11

Open
dglaude opened this issue Apr 4, 2021 · 4 comments
Open

missing set_multiple_pixels #11

dglaude opened this issue Apr 4, 2021 · 4 comments

Comments

@dglaude
Copy link
Contributor

dglaude commented Apr 4, 2021

The example set_multiple.py use a non existing feature.

It say:

AttributeError: 'module' object has no attribute 'set_multiple_pixels'

pi@blinka:~/Pimoroni/ledshim/examples $ python2 set_multiple.py
Green
Traceback (most recent call last):
  File "set_multiple.py", line 8, in <module>
    ledshim.set_multiple_pixels(range(0, 28), (0, 255, 0))
AttributeError: 'module' object has no attribute 'set_multiple_pixels'
pi@blinka:~/Pimoroni/ledshim/examples $ python3 set_multiple.py
Green
Traceback (most recent call last):
  File "set_multiple.py", line 8, in <module>
    ledshim.set_multiple_pixels(range(0, 28), (0, 255, 0))
AttributeError: module 'ledshim' has no attribute 'set_multiple_pixels'
@fishgotnosole
Copy link

Also having exact same issue. Is there any word on a fix, please?

@baralong
Copy link

Also the same issue. It does exist in https://github.com/pimoroni/led-shim/blob/master/library/ledshim/__init__.py
Perhaps https://get.pimoroni.com/ledshim is getting an older version? Or the later version isn't packed?

@Gadgetoid
Copy link
Member

Gadgetoid commented Jan 31, 2022

Yup this library has slipped through the cracks somewhat, last release was v0.0.1 - https://pypi.org/project/ledshim/ - May 17th 2018 😱

The fix was added two months later and has been in release purgatory for... a while.

On my immediate TODO list!

Edit: Should be fixed as of 0.0.2.

@baralong
Copy link

baralong commented Feb 1, 2022

Edit: Should be fixed as of 0.0.2.

Awesome, thanks. I'll test it out this evening, or tomorrow, at least when I get the chance. (regretting not bringing my pi to work ;) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants