I just bought a PiGlow and a Pibrella, and I was curious how it worked. I imported a few Python scripts from this link, but none of the scripts does work. When I run one of the scripts, I get the error:
Traceback (most recent call last): File "/home/pi/piglowtest2.py", line 1, in <module> from piglow import PiGlow File "/usr/local/lib/python3.4/dist-packages/piglow.py", line 1, in <module> import sn3218 File "/usr/local/lib/python3.4/dist-packages/sn3218.py", line 112, in <module> enable_leds(0b111111111111111111) File "/usr/local/lib/python3.4/dist-packages/sn3218.py", line 60, in enable_leds [enable_mask & 0x3F, (enable_mask >> 6) & 0x3F, (enable_mask >> 12) & 0X3F]) OSError: [Errno 5] Input/output error
I'm using a Raspberry Pi 3B. Is there a change in the modules of Python? Can anybody help me?
Thanks in advance.
This is the Pi with the Piglow: