Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hat Leds not working #40

Open
yash2607 opened this issue Feb 1, 2019 · 0 comments
Open

Hat Leds not working #40

yash2607 opened this issue Feb 1, 2019 · 0 comments

Comments

@yash2607
Copy link

yash2607 commented Feb 1, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant