Skip to content

Timeout in Adafruit_seesaw when attempting to create NeoTrellis #26

Open
@andrewsage

Description

@andrewsage

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

Metadata

Metadata

Assignees

No one assigned

    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