def push_button_callback(self, channel):
    print(channel)
    sleep(0.1)
    if GPIO.input(channel):
        print(('Rising edge detected on ' + str(channel)))
        GPIO.output(LED, GPIO.HIGH)
    else:
        print(('Falling edge detected on ' + str(channel)))
        GPIO.output(LED, GPIO.LOW)
def push_button_callback(self, channel):
    print(channel)
    sleep(0.1)
    if GPIO.input(channel):
        print(('Rising edge detected on ' + str(channel)))
        GPIO.output(LED, GPIO.HIGH)
    else:
        print(('Falling edge detected on ' + str(channel)))
        GPIO.output(LED, GPIO.LOW)