<filename>dev/LED/led_init.py
import RPi.GPIO as GPIO
import time


GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)

pin = 22

GPIO.setup(pin,GPIO.OUT)
#GPIO.setup(23,GPIO.OUT)

print ("LED on")

GPIO.output(pin,GPIO.HIGH)
time.sleep(1)
print ("LED off")

GPIO.output(pin,GPIO.LOW)

#for i in range(5):
    
   # print ("LED on")
    #GPIO.output(18,GPIO.HIGH)
   # GPIO.output(23,GPIO.LOW)

   # time.sleep(0.5)
    
  #  print ("LED off")
   # GPIO.output(18,GPIO.LOW)
   # GPIO.output(23,GPIO.HIGH)
    
   # time.sleep(0.2)

#GPIO.output(23,GPIO.LOW)
#GPIO.output(18,GPIO.LOW)

