#!/usr/bin/python

import RPi.GPIO as GPIO
import time

# set the GPIO mode
GPIO.setmode(GPIO.BCM)
# set pin 18 for output
GPIO.setup(18, GPIO.OUT)
# output to pin 18
GPIO.output(18, True)
# sleep for one second
time.sleep(1)
# turn off output for pin 18
GPIO.output(18, False)
# gpio cleanup
GPIO.cleanup()

389ec221ba8a57dc63e8b0d5b670158100358312
<mask token>

<mask token>
GPIO.setmode(GPIO.BCM)
GPIO.setup(18, GPIO.OUT)
GPIO.output(18, True)
time.sleep(1)
GPIO.output(18, False)
GPIO.cleanup()

import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(18, GPIO.OUT)
GPIO.output(18, True)
time.sleep(1)
GPIO.output(18, False)
GPIO.cleanup()

#!/usr/bin/python

import RPi.GPIO as GPIO
import time

# set the GPIO mode
GPIO.setmode(GPIO.BCM)
# set pin 18 for output
GPIO.setup(18, GPIO.OUT)
# output to pin 18
GPIO.output(18, True)
# sleep for one second
time.sleep(1)
# turn off output for pin 18
GPIO.output(18, False)
# gpio cleanup
GPIO.cleanup()
