This is the error:
This is the script:mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
Code: Select all
#!/bin/bash
DATE=$(date +"%Y-%m-%d_%H%M_%S")
raspistill -o /home/pi/camera_2/$DATE.jpg -t 2000 -vf -w 1920 -h 1080
exec $0