#!/usr/bin/env python import RPi.GPIO as GPIO from time import time, sleep GPIO.cleanup() GPIO.setwarnings(False) GPIO.setmode(GPIO.BOARD) GPIO.setup(18, GPIO.OUT) GPIO.setup(16, GPIO.OUT) GPIO.setup(15, GPIO.OUT) GPIO.setup(13, GPIO.OUT) GPIO.setup(12, GPIO.OUT) GPIO.setup(11, GPIO.OUT) GPIO.setup(23, GPIO.OUT) GPIO.setup(19, GPIO.OUT) GPIO.setup(21, GPIO.OUT) GPIO.setup(24, GPIO.OUT) GPIO.setup(26, GPIO.OUT) GPIO.setup(7, GPIO.OUT) while 1: GPIO.output(18, True) sleep(1) GPIO.output(18, False) GPIO.output(16, True) sleep(1) GPIO.output(16, False) GPIO.output(15, True) sleep(1) GPIO.output(15, False) GPIO.output(13, True) sleep(1) GPIO.output(13, False) GPIO.output(12, True) sleep(1) GPIO.output(12, False) GPIO.output(11, True) sleep(1) GPIO.output(11, False) GPIO.output(23, True) sleep(1) GPIO.output(23, False) GPIO.output(19, True) sleep(1) GPIO.output(19, False) GPIO.output(21, True) sleep(1) GPIO.output(21, False) GPIO.output(24, True) sleep(1) GPIO.output(24, False) GPIO.output(26, True) sleep(1) GPIO.output(26, False) GPIO.output(7, True) sleep(1) GPIO.output(7, False) GPIO.output(26, True) sleep(1) GPIO.output(26, False) GPIO.output(24, True) sleep(1) GPIO.output(24, False) GPIO.output(21, True) sleep(1) GPIO.output(21, False) GPIO.output(19, True) sleep(1) GPIO.output(19, False) GPIO.output(23, True) sleep(1) GPIO.output(23, False) GPIO.output(11, True) sleep(1) GPIO.output(11, False) GPIO.output(12, True) sleep(1) GPIO.output(12, False) GPIO.output(13, True) sleep(1) GPIO.output(13, False) GPIO.output(15, True) sleep(1) GPIO.output(15, False) GPIO.output(16, True) sleep(1) GPIO.output(16, False) GPIO.output(18, True) sleep(1) GPIO.output(18, False)