import Adafruit_BBIO.GPIO as GPIO import time Master_Pin = "P9_21" ln1 = "P9_22" ln2 = "P9_12" if __name__=="__main__": GPIO.setup(Master_Pin, GPIO.OUT) GPIO.output(Master_Pin, GPIO.LOW) GPIO.output(Master_Pin, GPIO.HIGH) time.sleep(5) GPIO.output(Master_Pin, GPIO.LOW) GPIO.output(Master_Pin, GPIO.LOW) GPIO.cleanup()