Completely new to all this HAT stuff - bought a DrumHAT thinking “great, I’ll install it and in no time I’ll be tapping out rhythms on it!”
Well, it’s fixed to our raspberry pi, and I followed the (brief!) instructions on the github page.
When I try to run drumhat.py (is this even how I should be going about it?) I get the following:
pi@raspberrypi ~/drum-hat/library $ sudo python ./drumhat.py
Traceback (most recent call last):
File “./drumhat.py”, line 6, in
File “/usr/local/lib/python2.7/dist-packages/Cap1xxx-0.1.0-py2.7.egg/cap1xxx.py”, line 239, 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 <bound method Cap1188.del of <cap1xxx.Cap1188 instance at 0x76c38f80>> ignored
…and nothing happens.
Anyone out there got the DrumHat working? Or any advice as to how I might do so?