def remove_event_detect(channel): """ :param channel: the channel based on the numbering system you have specified (:py:attr:`GPIO.BOARD`, :py:attr:`GPIO.BCM` or :py:attr:`GPIO.SUNXI`). """ _check_configured(channel, direction=IN) pin = get_gpio_pin(_mode, channel) event.remove_edge_detect(pin)
def remove_event_detect(channel): """ If for some reason, your program no longer wishes to detect edge events, this function will stop and remove the event detection thread. :param channel: the channel based on the numbering system you have specified (:py:attr:`GPIO.BOARD`, :py:attr:`GPIO.BCM` or :py:attr:`GPIO.SUNXI`). """ _check_configured(channel, direction=IN) pin = get_gpio_pin(_mode, channel) event.remove_edge_detect(pin)