Pan tilt code for esp32 Cam from projects book
Pan and Tilt is only 90 degrees Micro servo 9G SG90 -180
Changes in code to get full 180 degree pan tilt
Tnx
1 Answers
I have this book but have never tried that particular example. The code is setup to use the maximum of 0-180 degrees for both servo’s (According to the library documentation). You could try using MicroSeconds rather than letting the library enforce arbitrary limits or you could try a different servo library like ServoESP32. Either way you would need to modify the code.