    #input_state = GPIO.wait_for_edge(17, GPIO.RISING)
    #print('got state', input_state)
    input_state = GPIO.input(17)
    if input_state == False:
        print('Button Pressed')
	GPIO.output(18, GPIO.HIGH if not on else GPIO.LOW)
	on = not on
        time.sleep(0.5)
