Customisable camera control script for ESP32-CAM module - timelapse, flash, trigger control
Video tutorial: https://www.youtube.com/watch?v=FmlxC0goKew
Further resources: https://www.patreon.com/posts/esp32-camera-50512098