(self)
Turns off the strip by setting its color to black.
Turns off the strip by setting its color to black.
Turns off the strip by setting its color to black .
def clear(self) -> None:
        """Turns off the strip by setting its color to black."""
        if not self.initialized:
            return

        for channel in range(3):
            self.controller.set_pwm(channel, 0, 0)
def clear ( self ) -> None : if not self . initialized : return for channel in range ( 3 ) : self . controller . set_pwm ( channel , 0 , 0 )