Skip to content

OSError: [Errno 5] Input/output error #48

Closed
@makermelissa

Description

@makermelissa

I'm getting the following error when running the Camera Slider Sketch. It doesn't happen until it's been running awhile and it's most likely this library that is the culprit:

Traceback (most recent call last):
  File "code.py", line 125, in <module>
  File "/lib/adafruit_featherwing/minitft_featherwing.py", line 108, in buttons
  File "/lib/adafruit_seesaw/seesaw.py", line 198, in digital_read_bulk
  File "/lib/adafruit_seesaw/seesaw.py", line 383, in read
  File "/lib/adafruit_seesaw/seesaw.py", line 383, in read
  File "/lib/adafruit_bus_device/i2c_device.py", line 82, in readinto
OSError: [Errno 5] Input/output error

I probably need to just put the button reading code inside of a try block to fix it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions