import Servo
import machine
import time
LED2 = machine.Pin(2,machine.Pin.OUT)
servo = Servo(9)
print((machine.Pin))
while True:
LED2.value(0)
time.sleep(3)
LED2.value(1)
servo.pulse(90)
time.sleep(3)
LED2.value(0)
servo.pulse(0)
import Servo
import machine
import time
LED2 = machine.Pin(2,machine.Pin.OUT)
servo = Servo(9)
print((machine.Pin))
while True:
LED2.value(0)
time.sleep(3)
LED2.value(1)
servo.pulse(90)
time.sleep(3)
LED2.value(0)
servo.pulse(0)