def stop1(t=1): print('stop1') gpio.output(left_forward, gpio.HIGH) gpio.output(left_reverse, gpio.HIGH) sleep(t) gpio.output(left_forward, gpio.LOW) gpio.output(left_reverse, gpio.LOW)