respeaker / pixel_ring

RGB LED library for ReSpeaker 4 Mic Array, ReSpeaker V2 & ReSpeaker USB 6+1 Mic Array
60 stars 41 forks source link

LEDs not lit on USB 6+1 Mic Array #7

Open xcraftster opened 4 years ago

xcraftster commented 4 years ago

Hi there, I have enabled SPI on my RPi 3b and I run this Python script:

python3 ~/pixel_ring/examples/usb_mic_array.py

but nothing happens, no errors, nothing....

while at the same time the example (respeaker/pixel_ring.py) from respeaker_python_library (https://github.com/respeaker/respeaker_python_library) works.

maximlomans commented 3 years ago

did the installation run successfully ? $ cd pixel_ring $ python -m pip install -U -e . any errs ? you will need gpiozero + spidev too . i added numpy for good measure - i had it requested on alexapi ? how about is the spi param set in config.txt ? raspi-config ?

i ran it using [python2] for mic4 and it works i can't speak for py3 - i haven't checked the script either whether py3 is addressed .