def sol(tf, ff):
    init()
    gpio.output(17, 0)
    gpio.output(27, 0)
    sp = gpio.PWM(22, 50)
    sp2 = gpio.PWM(18, 50)
    sp.start(ff)
    sp2.start(ff)
    tf = float(tf)
    tf = (tf / motorhizi)
    time.sleep(tf)
    gpio.cleanup()
def sol(tf, ff):
    init()
    gpio.output(17, 0)
    gpio.output(27, 0)
    sp = gpio.PWM(22, 50)
    sp2 = gpio.PWM(18, 50)
    sp.start(ff)
    sp2.start(ff)
    tf = float(tf)
    tf = (tf / motorhizi)
    time.sleep(tf)
    gpio.cleanup()