Using STM8L as an external control center to trigger the frame grabber and control servo moto