(self)
Stops flashing the LED.
Stops flashing the LED.
Stops flashing the LED .
def stop_led_flash(self):
        """Stops flashing the LED."""
        if self._led_flashing:
            self._led_flash = (0, 0)
            self._led_flashing = False
            # Call twice, once to stop flashing...
            self._control()
            # ...and once more to make sure the LED is on.
            self._control()
def stop_led_flash ( self ) : if self . _led_flashing : self . _led_flash = ( 0 , 0 ) self . _led_flashing = False # Call twice, once to stop flashing... self . _control ( ) # ...and once more to make sure the LED is on. self . _control ( )