Skip to content

Timeout in Adafruit_seesaw when attempting to create NeoTrellis #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
andrewsage opened this issue Jan 28, 2024 · 0 comments
Open

Timeout in Adafruit_seesaw when attempting to create NeoTrellis #26

andrewsage opened this issue Jan 28, 2024 · 0 comments

Comments

@andrewsage
Copy link

Setup

CircuitPython 8.2.9
RP2040 Stamp

Problem

If a user attempts to create a NeoTrellis object using the following code:

import time
import board
import busio
from adafruit_neotrellis.neotrellis import NeoTrellis

# SDA is GP5
# SCL is GP4
i2c_bus = busio.I2C(board.GP5, board.GP4)

trellis = NeoTrellis(i2c_bus)

The following error is produced:

File "adafruit_neotrellis/neotrellis.py", line 71, in __init__
  File "adafruit_seesaw/keypad.py", line 68, in __init__
  File "adafruit_seesaw/seesaw.py", line 151, in __init__
  File "adafruit_seesaw/seesaw.py", line 496, in read8
  File "adafruit_seesaw/seesaw.py", line 501, in read
  File "adafruit_seesaw/seesaw.py", line 520, in write
OSError: [Errno 116] ETIMEDOUT

Additional Information

The code is taken from the #25 (comment) which addresses the problem of the current example code not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant