def hard_left(t=1.):
print('hard left')
gpio.output(right_forward, gpio.HIGH)
gpio.output(left_reverse, gpio.HIGH)
sleep(t)
gpio.output(right_forward, gpio.LOW)
gpio.output(left_reverse, gpio.LOW)
文章目录