====== Linux ======
===== Base =====
edit /etc/locale.gen and run locale-gen
apt-get install wiringpi python-pip
# test GPIO
gpio readall
non fare con raspbian recenti
# apt install rpi-update
# rpi-update
===== camera =====
pip install "picamera[array]"
raspistill -tl 100 [-t 99999]
* [[http://picamera.readthedocs.io/en/release-1.10/recipes1.html|picamera]]
* [[http://pklab.net/?id=392&lang=EN|opencv 3.2]]
* [[http://www.pyimagesearch.com/2015/03/30/accessing-the-raspberry-pi-camera-with-opencv-and-python/|opencv and rasberry]]
==== view picamera as normal USB camera ====
add to /etc/modules
echo bcm2835-v4l2 >> /etc/modules-load.d/modules.conf
control panel to change camera settings
sudo apt install v4l2ucp