def hard_left(t=wheel_pulse):
gpio.output(forward_right, gpio.HIGH)
gpio.output(reverse_left, gpio.HIGH)
sleep(t)
gpio.output(forward_right, gpio.LOW)
gpio.output(reverse_left, gpio.LOW)
##########################################################################
# cleanup
##########################################################################
评论列表
文章目录