Skip to content

NeoTrellis example code crashing on trellis.sync() call #2110

Closed
@jedgarpark

Description

@jedgarpark

Hooked up a NeoTrellis board to a Feather M4, tried basic NeoTrellis example code found here: https://learn.adafruit.com/adafruit-neotrellis/circuitpython-code
Code runs through the light test, then hangs, or allows a couple button presses before hanging.
Error:

Traceback (most recent call last):
  File "code.py", line 49, in <module>
  File "adafruit_neotrellis/neotrellis.py", line 89, in sync
  File "adafruit_seesaw/keypad.py", line 74, in count
  File "adafruit_seesaw/seesaw.py", line 372, in read8
  File "adafruit_seesaw/seesaw.py", line 383, in read
  File "adafruit_seesaw/seesaw.py", line 383, in read
  File "adafruit_bus_device/i2c_device.py", line 96, in readinto
OSError: [Errno 5] Input/output error

This is running 4.1.0 release CircuitPython and associated bundle libraries for seesaw, neotrellis, and bus_device. Same problem exists with 5.0.0 alpha 1.

Note: code runs properly under 3.1.2 circuitpython, buttons light up when pressed, no crashing.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions