These directions are written under the assumption that you will be following along with the original documentation - I purposefully leave out large chucks as they are already documented here:
sudo apt-get install build-essential python-dev git scons swig
git clone https://github.com/jgarff/rpi_ws281x.git
cd rpi_ws281x
scons
cd python
sudo python setup.py install
The values given for the newly created /etc/asound.conf and edits to the /etc/asla.conf are from a system with two sound devices. In a prior step, the built-in sound was disabled, so the Fe-Pi is the only sound device that should be enabled, meaning that it should be device zero.
In this case, the /etc/asound.conf should look like this:
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
and these two values in /usr/share/alsa/alsa.conf should equal 0, as show here:
defaults.ctl.card 0
defaults.pcm.card 0
While you are editing the alsa.conf, also update the following from:
Because the Fe-Pi is hardwired to use GPIO18, I am using GPIO12 to talk to the LED strip. The two figuration updates I made were to the LED_PIN and LED_COUNT.
Edit the ~/rpi_ws281x/python/examples/strandtest.py file
LED_COUNT = 102LED_PIN = 12
try running the test:
cd ~/rpi_ws281x/python/examples
sudo python strandtest.py