take a picture pi camera code example Example: configure rpi for camera with terminal sudo raspi-config