How to run Pi Cap script at start-up

Learn how to the run Pi Cap script at start-up
When you develop a script for the Pi Cap you might want to run it as soon as you connect your Pi to power. This way you can light a status LED at launch, or set-up the Pi Cap directly as a piano.
Edit autostart
For this example, we are using the picap-colour-spin.cpp sketch, but you can use any of our examples sketches. Once you have SSH'd into the Pi, enter
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
At the bottom of the file, add
@bash ./PiCapExamples/Python/picap-touch-mp3-py/run
If you now press CTRL + X, then Y, then enter, it will save the recent edits in the file.
If you now reboot the Pi, the LED should change colour!