Skip to content

Multiple pins "currently claimed by inky" after running for a while #255

@skypanther

Description

@skypanther

I'm using the inky 2.2.1 version library with an Inky wHAT. I'm getting the following error output after the script has run for a while, like 24 hours:

Woah there, some pins we need are in use!
  ⚠️   Chip Select: (line 8, SPI_CE0_N) currently claimed by inky
  ⚠️   Data/Command: (line 22, GPIO22) currently claimed by inky
  ⚠️   Reset: (line 27, GPIO27) currently claimed by inky
  ⚠️   Busy: (line 17, GPIO17) currently claimed by inky

Code to update the display is:

out = Image.alpha_composite(im1, txt)
self.inky_display.set_image(out)
self.inky_display.show()

(my weather station full code is at https://github.com/skypanther/inkywhat/)

Rebooting does not resolve the issue (sudo reboot now). However, power cycling does.

Raspberry Pi, Raspbian/bookworm, inky 2.2.1, PIL/pillow 11.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions