Guys tell me something like that.
Hooked MG90S servo to your Raspberry PI 3 B+ GPIO12 that is a pin that supports hardware PWM.
Using library RPi.GPIO with a simple code:
import RPi.GPIO as GPIO
p = GPIO.PWM(12,50)
The servo operates smoothly.
The question is, how best to implement work with the hardware PWM?
What library to use, are there any examples of code?
The fact that I'm not strong in programming, and the network could not find the instructions can You tell me?