LEDShim [Errno 11] Resource temporarily unavailable

I receoved a new ledshim and whem trying tpo get working i get the following error

return self._register(_CONFIG_BANK, _SHUTDOWN_REGISTER, not value)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/local/lib/python3.11/dist-packages/ledshim/is31fl3731.py”, line 305, in _register
self._bank(bank)
File “/usr/local/lib/python3.11/dist-packages/ledshim/is31fl3731.py”, line 301, in _bank
self.i2c.write_i2c_block_data(self.address, _BANK_ADDRESS, [bank])
BlockingIOError: [Errno 11] Resource temporarily unavailable

Can anyone help to advise what the issue might be. I have the ledshim soldered onto a header.
I have checked the soldering incase of any contact between pins.
I also use a multi meter to check continuity from the top of the header to the botom and thats fine.

What version Pi OS is installed?
And what example are you trying to run?

I have multiple ledshim’s, all work apart from 2.
The example i am running

sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED
sudo curl https://get.pimoroni.com/ledshim | bash
sudo python3 /home/pi/Pimoroni/ledshim/examples/rainbow.py

If others work, that implies hardware rather than software - I’d suggest getting some clear (in focus!) pictures of your soldering.

1 Like

The LED-shim is declared as fraction-fit and doesn’t need soldering. Which is a promise that cannot be fulfilled. The time you save by not soldering will be wasted for tracking down errors.

If yo don’t want to solder: make at least sure that the I2C and power-pins connect. I usually put a female socket above the led-shim to make sure it is really pressed down and the pins line up.

1 Like