demo video https://www.youtube.com/shorts/V0UvFVHfQAE pan/tilt laser turret for ESP32 Cam Connect and be careful when giving power to servos and ESP-32, servo may jerk into position.
Most of this code was taken from Rui Santos Here is a link to his tutorial https://RandomNerdTutorials.com/esp32-cam-projects-ebook/ Here is his github https://github.com/RuiSantosdotme
I added code to turn on the onboad LED light and activate a laser for 5 seconds.
for ESP32 Cam Pin 12 Laser Pin 14 up & down servo PWM Pin 15 left and right servo PWM