import machine
from machine import Pin
import time
ANeg = Pin(18,Pin.OUT)
APos = Pin(5,Pin.OUT)
BNeg = Pin(16,Pin.OUT)
BPos = Pin(17,Pin.OUT)
"""
while True:
APos.value(1)
BPos.value(0)
ANeg.value(0)
BNeg.value(0)
time.sleep_ms(100)
APos.value(0)
BPos.value(1)
ANeg.value(0)
BNeg.value(0)
time.sleep_ms(100)
APos.value(0)
BPos.value(0)
ANeg.value(1)
BNeg.value(0)
time.sleep_ms(100)
APos.value(0)
BPos.value(0)
ANeg.value(0)
BNeg.value(1)
time.sleep_ms(100)
"""
while True:
APos.value(0)
BPos.value(0)
ANeg.value(0)
BNeg.value(1)
time.sleep_ms(100)
APos.value(0)
BPos.value(0)
ANeg.value(1)
BNeg.value(0)
time.sleep_ms(100)
APos.value(0)
BPos.value(1)
ANeg.value(0)
BNeg.value(0)
time.sleep_ms(100)
APos.value(1)
BPos.value(0)
ANeg.value(0)
BNeg.value(1)
time.sleep_ms(100)
#"""