camera
將 Camera Module V2 插入 Raspberry Pi
將 Raspberry Pi 開機
打開 terminal,並輸入以下指令
sudo raspi-config
選擇 Interfacing Options
選擇 P1 Camera,並將設定改為 Enable
輸入以下指令,試拍一張
raspistill -o image.png
檢查路徑下是否有 image.png,若有代表你前置設定完成了!
ls