import time
import stepper
import board

s = stepper.Stepper(
    step_pin=board.GP3, limit_pins=(board.GP10, board.GP11), dir_pin=board.GP2, count_pin=board.GP0
)
s.dir_active = "HIGH"
s._setup_sm()

s.velocity = 0.2
print("hello")

time.sleep(10)
s.velocity = 3
print("hello")

time.sleep(10)
s.velocity = -10
print("hello")

time.sleep(10)
s.velocity = 10
time.sleep(10)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
A4988