def forward_rear(t): gpio.output(13, gpio.HIGH) gpio.output(31, gpio.HIGH) sleep(t) gpio.output(13, gpio.LOW) gpio.output(31, gpio.LOW)