I got this
and successfully installed it into my bot. I could not use the pimoroni hat because the pi is nowhere near the servos.
Now I would like to use the pantilthat library in my code. Where on the GPIO should I plug in the two servos?
I got this
and successfully installed it into my bot. I could not use the pimoroni hat because the pi is nowhere near the servos.
Now I would like to use the pantilthat library in my code. Where on the GPIO should I plug in the two servos?
You can’t use that library without the hat, not as far as I know. The Pan Tilt Hat has a controller chip on it. Without the Pan Tilt Hat you will have to use PWM to control the servos.
There are servo extension cables out there though,
https://www.adafruit.com/?q=servo