Last active
January 11, 2018 09:38
-
-
Save dmgl/764cc8c5f865c95162d1981857262c50 to your computer and use it in GitHub Desktop.
First start RaspberryPi instructions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo raspi-config # set hostname; ssh, vnc enable; spi enable | |
sudo leafpad /etc/ssh/sshd_config # set port, listen | |
sudo apt-get update && sudo apt-get upgrade | |
sudo apt-get purge bluej scratch greenfoot | |
rm -rf ~/oldconffiles/ ~/oldconffiles/Scratch | |
rm -rf ~/Documents/* | |
sudo dpkg-reconfigure locales | |
sudo locale-gen | |
sudo usermod -a -G spi,gpio pi | |
sudo apt-get install python-dev python-pip libfreetype6-dev libjpeg-dev | |
sudo -i pip install --upgrade pip setuptools | |
sudo apt-get purge python-pip | |
pip --version # pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7) | |
sudo -H pip install --upgrade luma.led_matrix | |
git clone https://github.com/rm-hull/luma.led_matrix.git | |
python examples/matrix_demo.py | |
sudo pip install max7219 # alternative lib | |
# install some useful packages | |
sudo apt-get install vim mc htop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment