Hi! There is in internet a lot of posts about how to control a microservo but they often call arduino software for coding.
If micropython has being used it seems that by only linking the servo ( SG90) three wires to the esp ( Vin, GND, GPIO(xx)) and coding a couple of lines in repl micropython, of course after being flashed on the esp( ie. >>>from machine import Pin,PWM >>>servo = PWM(Pin(14), freq=50)>>>servo.duty(77) ….servo.duty(40)…..servo.duty(115)), I would be able to move and control the servo.
But nothing happens.
Of course I did something wrong .
How is it possible to fix the issue?