Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6851

TouchPhat, OSError: [Errno 121] Remote I/O error

$
0
0

@idhem wrote:

Hi.

I have a new touchphat attached to a raspberry pi 3.
and i2c is enabled.

i get the following error on importing touchphat:
Traceback (most recent call last):
File “touchphattest.py”, line 1, in
import touchphat
File “/usr/lib/python3/dist-packages/touchphat/init.py”, line 13, in
dh = cap1xxx.Cap1166(i2c_addr=0x2c)
File “/usr/lib/python3/dist-packages/cap1xxx.py”, line 283, in init
self.product_id = self._get_product_id()
File “/usr/lib/python3/dist-packages/cap1xxx.py”, line 469, in _get_product_id
return self._read_byte(R_PRODUCT_ID)
File “/usr/lib/python3/dist-packages/cap1xxx.py”, line 494, in _read_byte
return self.i2c.read_byte_data(self.i2c_addr, register)
OSError: [Errno 121] Remote I/O error

Running i2cdetect gives me the following:
$ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --

Any help would be appreciated.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6851

Trending Articles