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

Piano hat not woking HELP!

$
0
0

@pi2003 wrote:

when i navigate to the piano hat file and type in sudo python simple-piano.py it says this for all files.
Traceback (most recent call last):
File "simple-piano.py", line 3, in
import pianohat
File "/usr/local/lib/python2.7/dist-packages/pianohat.py", line 103, in
pianoctog = cap1xxx.Cap1188(i2c_addr=0x28, alert_pin=4)
File "/usr/local/lib/python2.7/dist-packages/cap1xxx.py", line 242, in init
self.i2c = SMBus(i2c_bus)
IOError: [Errno 2] No such file or directory
Exception AttributeError: "Cap1188 instance has no attribute 'alert_pin'" in del of > ignored

i have no idea what this means

HELP

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6932

Trending Articles