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

Explorer pHAT with Scroll pHAT HD - Errors

$
0
0

@makerspace.sh wrote:

I try to use the Explorer pHAT with a Scroll pHAT HD on a Raspberry Pi Zero W. When I try to start the test script for the Scroll pHAT HD I get the following error:

Traceback (most recent call last):
File “eyes.py”, line 3, in
import scrollphathd
File “/usr/lib/python3/dist-packages/scrollphathd/init.py”, line 25, in
display = is31fl3731.ScrollPhatHD(i2c, gamma_table=is31fl3731.LED_GAMMA)
File “/usr/lib/python3/dist-packages/scrollphathd/is31fl3731.py”, line 71, in init
raise e
File “/usr/lib/python3/dist-packages/scrollphathd/is31fl3731.py”, line 67, in init
self._reset()
File “/usr/lib/python3/dist-packages/scrollphathd/is31fl3731.py”, line 459, in _reset
self._sleep(True)
File “/usr/lib/python3/dist-packages/scrollphathd/is31fl3731.py”, line 464, in _sleep
return self._register(_CONFIG_BANK, _SHUTDOWN_REGISTER, not value)
File “/usr/lib/python3/dist-packages/scrollphathd/is31fl3731.py”, line 489, in _register
self._bank(bank)
File “/usr/lib/python3/dist-packages/scrollphathd/is31fl3731.py”, line 484, in _bank
self.i2c.write_i2c_block_data(self.address, _BANK_ADDRESS, [bank])
OSError: [Errno 121] Remote I/O error

But this worked without the Explorer pHAT.
And when I try to start the Explorer pHAT test script I sometimes get:

Warning, could not find Analog or Touch…
Please check your i2c settings!

But when I restart the Script for the Explorer pHAT it works normally… and sometimes later I get the error above again…

with i2cdetect -y 1 I see both pHATs:

 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- 48 – -- – -- – -- –
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- 74 – -- –

I am currently clueless…

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6926

Trending Articles