import time
import machine
from machine import Pin
time.sleep(0.1) # Wait for USB to become ready
print("Hello, Pi Pico!")
enable = Pin(21, Pin.OUT)
step = Pin(20, Pin.OUT)
direction = Pin(19, Pin.OUT)
enable.off() # Gotta get low to be high
direction.on()
while True:
step.on()
time.sleep_us(10)
step.off()
time.sleep_us(90)