def stepper(tf, ff, yf):
    ff = float(ff)
    ff = (ff / 1000)
    if (yf == 0):
        for i in range(0, tf):
            adim1(ff, 0)
            adim2(ff, 0)
            adim3(ff, 0)
            adim4(ff, 0)
    if (yf == 1):
        for i in range(0, tf):
            adim1(ff, 1)
            adim2(ff, 1)
            adim3(ff, 1)
            adim4(ff, 1)
def stepper(tf, ff, yf):
    ff = float(ff)
    ff = (ff / 1000)
    if (yf == 0):
        for i in range(0, tf):
            adim1(ff, 0)
            adim2(ff, 0)
            adim3(ff, 0)
            adim4(ff, 0)
    if (yf == 1):
        for i in range(0, tf):
            adim1(ff, 1)
            adim2(ff, 1)
            adim3(ff, 1)
            adim4(ff, 1)