from gpiozero import Servo
from time import sleep

servo = Servo(28)

try:
	while True:
        
    	servo.min()
    	sleep(0.5)
    	servo.mid()
    	sleep(0.5)
    	servo.max()
    	sleep(0.5)
except KeyboardInterrupt:
	print("Program stopped")
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT