respeaker / mic_array

DOA, VAD and KWS for ReSpeaker Microphone Array
https://www.seeedstudio.com/ReSpeaker-Mic-Array-Far-field-w--7-PDM-Microphones--p-2719.html
Apache License 2.0
293 stars 86 forks source link

Hat Leds not working #40

Open yash2607 opened 5 years ago

yash2607 commented 5 years ago

I have performed everything that is mentioned but still i am not able to use the leds on the hat there is some problem in opening the spi ports (i think so). I have enabled tyhe spi interface and rebooted the pi several times. I am also using a 5 in Lcd touch screen (only as a monitor throught HDMI port). The LCD library also uses the spi interface so maybe there is some clash in these libraries. I am sharing the error below

(env) pi@raspberrypi:~/4mics_hat $ python pixels.py Traceback (most recent call last): File "pixels.py", line 73, in pixels = Pixels() File "pixels.py", line 20, in init self.dev = apa102.APA102(num_led=self.PIXELS_N) File "/home/pi/4mics_hat/apa102.py", line 90, in init self.spi.open(bus, device) # Open SPI port 0, slave device (CS) 1 IOError: [Errno 2] No such file or directory