I'm trying to attach a NeoTrellis keyboard to my Matrix Portal M4 via I2C.
I'm using a 4 pin JST PH to 4 pin JST SH cable.
I've connected to NeoTrellis to the M4 and, using a multimeter, confirmed that the board is getting 3.3V.
However, when I run the code to test the board I get this error:
Running an I2C scan gives me the same output whether the Neotrellis is connected to the board or not:code.py output:
Traceback (most recent call last):
File "code.py", line 27, in <module>
File "adafruit_neotrellis/neotrellis.py", line 60, in __init__
File "adafruit_seesaw/keypad.py", line 67, in __init__
File "adafruit_seesaw/seesaw.py", line 140, in __init__
ValueError: No I2C device at address: 0x2e
Code: Select all
>>> import board
>>> import busio
>>> i2c = busio.I2C(board.SCL, board.SDA)
>>> while not i2c.try_lock():
... pass
...
...
...
>>> i2c.scan()
[25]
I've been searching the forums, the closest I come to what I'm seeing is this post: PN532 on Matrix Portal M4 (viewtopic.php?f=62&t=190458&p=921992&hi ... 2c#p921992). However, there was no resolution.
Looking for advice on what I can try next.
I've attached a photo of the NeoTrellis connected to the M4.
Any help is appreciated.
Thanks,
Nicole