adafruit / Adafruit_CircuitPython_FeatherWing

CircuitPython classes for Adafruit FeatherWings
MIT License
11 stars 13 forks source link

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

Closed makermelissa closed 4 years ago

makermelissa commented 4 years ago

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.