def set_glitch_filter(self, user_gpio, steady):
        """
        Sets a glitch filter on a GPIO.
        Level changes on the GPIO are not reported unless the level
        has been stable for at least [*steady*] microseconds.  The
        level is then reported.  Level changes of less than [*steady*]
        microseconds are ignored.
        user_gpio:= 0-31
           steady:= 0-300000
        Returns 0 if OK, otherwise PI_BAD_USER_GPIO, or PI_BAD_FILTER.
        This filter affects the GPIO samples returned to callbacks set up
        with [*callback*] and [*wait_for_edge*].
        It does not affect levels read by [*read*],
        [*read_bank_1*], or [*read_bank_2*].
        Each (stable) edge will be timestamped [*steady*]
        microseconds after it was first detected.
        ...
        pi.set_glitch_filter(23, 100)
        ...
        """
        res = yield from self._pigpio_aio_command(_PI_CMD_FG, user_gpio, steady)
        return _u2i(res)
Sets a glitch filter on a GPIO.
        Level changes on the GPIO are not reported unless the level
        has been stable for at least [*steady*] microseconds.  The
        level is then reported.  Level changes of less than [*steady*]
        microseconds are ignored.
        user_gpio:= 0-31
           steady:= 0-300000
        Returns 0 if OK, otherwise PI_BAD_USER_GPIO, or PI_BAD_FILTER.
        This filter affects the GPIO samples returned to callbacks set up
        with [*callback*] and [*wait_for_edge*].
        It does not affect levels read by [*read*],
        [*read_bank_1*], or [*read_bank_2*].
        Each (stable) edge will be timestamped [*steady*]
        microseconds after it was first detected.
        ...
        pi.set_glitch_filter(23, 100)
        ...