Hello!
I am trying to use piano and drumhat together, so I did the wiring “by hand” on a breadboard. It worked, but the cables fell out. Now I rewired it, but both hats are disfunctional. I get a long errorlist on both hats, similar:
File “simple-piano.py”, line 14, in .
import pianohat
File “/usr/lib/python2.7/dist-packages/pianohat.py”,line 175 in <module|>
_piano_ctog = cap1xxx.Cap1188(i2c_addr=0x28, alert_pin=4)
File “/usr/lib/python2.7/dist-packages/cap1xxx.py”, line 282",in init
self.product_id = self._get_product_id()
File “/usr/lib/python2.7/dist-packages/cap1xxx.py”, line 486",in _get_product_id
return self._read_byte(R_PRODUCT_ID)
File “/usr/lib/python2.7/dist-packages/cap1xxx.py”, line 493",in read_byte
return self.i2c._read_byte_data(self.i2c_addr,register)
IO Error: [Errno5] Input/output error
Does anybody know what that means and where my mistake is? I checked the wiring about ten times (there was a mistake first, but now it´s set up correctly, I hope).
Thanks in advance, Stefan