Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1585

Python • Can’t control servo motor with Raspberry Pi 5

$
0
0
I’ve just recently bought my first Raspberry Pi and opted for a Pi 5 as it was the latest.

I’ve had no luck getting gpiozero or gpiod working with Python and my MG996R servos yet.

I don’t mind if it’s not the ‘best’ possible servo control as I’m just experimenting with servos for the first time.

However I can’t find any example python code that actually allows me to control a Servo.

All examples for previous raspberry pi versions do not work on the Pi 5

Is something ‘official’ coming out soon or can someone point me at some sample python code that works with Raspberry Pi 5.

I want to start playing with my new toy

Statistics: Posted by Bri — Mon Feb 12, 2024 8:15 pm



Viewing all articles
Browse latest Browse all 1585

Trending Articles