This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

clearLEDMatrix

Clears the entire LED matrix and sets the all the pixels to blank ([0, 0, 0])

Syntax

clearLEDMatrix(mysh)

Description

example

clearLEDMatrix(mysh) clears the entire LED matrix and sets all the pixels to blank ([0,0,0]).

Examples

collapse all

Clears the LED matrix and resets all the pixels.

clearLEDMatrix(mysh)

Clears the entire LED matrix and sets the all the pixels to blank ([0, 0, 0]).

Input Arguments

collapse all

Connection to a SenseHAT board, specified as a sensehat object.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced in R2016b